Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Using CkString in utf-8 Mode
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");
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.