Converts a string from the character set of a specified locale into the ANSI character set.
procedure NativeToAnsiBuf(Locale: TLocale; Source: PChar; Dest: PChar; Len: Integer);
NativeToAnsiBuf(TLocale Locale, const char * Source, const char * Dest, int Len);
DBTables
Call NativeToAnsiBuf to convert a null-terminated string in the character set of the Locale parameter to the ANSI character set (used internally). The resulting string is copied into the buffer pointed to by the Dest parameter. Use the Len parameter to specify the size of this buffer.
Use NativeToAnsiBuf to convert strings from a database table into the ANSI character set so that they can be displayed in the user interface.
AnsiToNativeBuf
NativeToAnsi
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|