×
Namespaces

Variants
Actions

在16位descriptor和8位descriptor之间拷贝数据

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata

文章
huwell 在 29 Jun 2007 创建
最后由 hamishwillee 在 15 Dec 2011 编辑
  • 开发伙伴平台:

60系列开发平台 80系列开发平台


  • 详细描述

首先,我们应该包含utf.h头文件,并连接charconv.lib库

#include <utf.h>
 
 
// Copy data from srcBuf16 to destBuf8
CnvUtfConverter::ConvertFromUnicodeToUtf8(destBuf8, srcBuf16);
 
// Copy data from srcBuf8 to destBuf16
CnvUtfConverter::ConvertToUnicodeFromUtf8(destBuf16,srcBuf8);
  • Link Against : charconv.lib
This page was last modified on 15 December 2011, at 13:08.
49 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×