Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Using CkString in utf-8 ModeDownloads: MS Windows Visual C/C++ Libraries Linux/CentOS C/C++ Libraries MAC OS X C/C++ Libraries Solaris C/C++ Libraries C++ Builder Libraries Demonstrates how to use the CkString class in utf-8 mode. CkString str; // Use the CkString class in "utf-8" mode. // When in utf-8 mode, all "const char *" input arguments // are expected to be utf-8 strings. str.put_Utf8(true); // The following string is utf-8 where the "" character is represented // in 2-bytes in utf-8: ç str.append("Je peux manger du verre, ça ne me fait pas de mal."); // Save the string as ANSI, and check to see if we have it correct. str.saveToFile("test.txt","ansi");
|
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.