|
/*****************************************************************************
* FUNCTION
* mmi_chset_convert
* DESCRIPTION
* Convert string between 2 character sets. (will add the terminate character)
* PARAMETERS
* src_type [IN] Charset type of source
* dest_type [IN] Charset type of destination
* src_buff [IN] Buffer stores source string
* dest_buff [OUT] Buffer stores destination string
* dest_size [IN] Size of destination buffer (bytes)
* RETURNS
* Length of destination string, including null terminator. (bytes)
*****************************************************************************/
kal_int32 mmi_chset_convert(
mmi_chset_enum src_type,
mmi_chset_enum dest_type,
char *src_buff,
char *dest_buff,
kal_int32 dest_size)
mmi_chset_convert 的用法在MTK里可以转换好多类型,UTF8 转 UCS2 再转ASCII,貌似不对。
有没人也用过。。。。 |
|