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 ANSI Mode
Demonstrates how to use the CkString class in ANSI mode. CkString str; // Use the CkString class in ANSI mode. // When in ANSI mode, all "const char *" input arguments // are expected to be ANSI strings. str.put_Utf8(false); str.append("Je peux manger du verre, a ne me fait pas de mal."); // Save the string as ANSI, utf-8, or Unicode. str.saveToFile("utf8.txt","utf-8"); str.saveToFile("ansi.txt","ansi"); str.saveToFile("unicode.txt","unicode"); // Chilkat recommends using the EmEditor by EmuraSoft for editing // text in any character encoding.
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.