|
|
|
|
|
- Conversion result
- UTF-8 and ANSI conversion
- Conversion in PHP
<ANSI string>.AnsiToUnicode (Function) In french: <Chaîne ANSI>.AnsiVersUnicode Converts a string in ANSI (Windows) format into a string in Unicode format. 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.
MaChaîneUnicode is string Unicode
MaChaîneAnsi is string ANSI
MaChaîneAnsi = "Le développement facile"
MaChaîneUnicode = MaChaîneAnsi.AnsiToUnicode(charsetGreek)
Syntax
Converting an ANSI character string Hide the details
<Result> = <String to convert>.AnsiToUnicode([<Charset>])
<Result>: Unicode string - Unicode string.
- EOT if a conversion problem occurred.
<String to convert>: Character string ANSI string to convert. <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) | Uses the 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). | 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 string in Unicode format. This string can therefore only be manipulated by variables and functions that handle the Unicode format. In the event of confusion between a string in Unicode format and a string in ANSI format, conversion will be implicitly performed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|