|
|
|
|
|
- Conversion result
- Conversion in PHP
AnsiToUnicode (Function) In french: AnsiVersUnicode Converts: - an ANSI string (Windows) to a UNICODE string.
- a buffer containing an ANSI string (Windows) to a buffer containing a UNICODE string.
Reminder: - ANSI is the character set used in Windows.
- UNICODE is a character encoding standard. UNICODE is used to manage different languages and character sets.
MyUnicodeBuffer is Buffer // Convert MyAnsiBuffer // that contains an ANSI string // to a buffer containing a UNICODE string MyUnicodeBuffer = AnsiToUnicode(MyAnsiBuffer)
Syntax
Converting a buffer containing an ANSI string Hide the details
<Result> = AnsiToUnicode(<Buffer> [, <Charset>])
<Result>: Buffer - Buffer containing a UNICODE string.
- EOT if a conversion problem occurred.
<Buffer>: Buffer Buffer containing an ANSI string to convert. If <Buffer> contains a UNICODE string, <Result> will contain an invalid string. <Charset>: Optional Integer constant Character set that will be used for the conversion. | | charsetAnsi | Roman characters in ANSI standard. | charsetArabic | Arabic characters. | charsetBaltic | Baltic characters. | charsetChinese | Chinese characters (People's Republic of China). | charsetCurrent (Default value) | Current character set specified with ChangeCharset (charsetOccidental by default). | charsetDefault | Uses the computer's default character set. No character set is forced. | charsetEastEurope | Eastern European characters (Polish, etc.). | charsetGreek | Greek characters. | charsetHebrew | Hebrew characters. | charsetJapanese | Japanese characters. | charsetKorean | Korean characters. | charsetMac | Mac Roman character set (used in previous versions of Macintosh). | charsetOccidental | Roman characters in ANSI standard. | charsetRussian | Russian characters. | charsetThai | Thai characters. | charsetTraditionalChinese | Traditional Chinese characters (Republic of Taiwan). | charsetTurkish | Turkish characters. | charsetUTF8 | Used to manage UTF-8 (used in XML, for example). | charsetVietnamese | Vietnamese characters. |
Remarks Conversion result The result of the conversion is a UNICODE string or buffer. This string (or buffer) can only be handled by variables and functions that support UNICODE. If you use the wrong format, the conversion will be implicitly performed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|