vellum wrote:
bulia wrote>
What is "ANSI value"? Same as ASCII? If so then ASCII is a subset of Unicode, you can use the Unicode mode as in the above.
Yes, ANSI is a subset of Unicode.
Actually, it's not.
ASCII is a subset of Unicode, but ANSI is a term that Microsoft "borrowed".
They adopted a scheme that never made it out of proposal for their character-set codepages. In general, it's 8-bit or multi-byte character set used by Microsoft. CP-1252 (Windows Western) is one "ANSI Code Page". CP-932 is another.
ASCII is a subset of Unicode. Latin-1 (ISO-8859-1) is also a subset of Unicode. ASCII is a subset of Latin-1. Cp-1252 is not a subset of Unicode (characters from $80 through $9f differ).
Usually (note that I said usually) most ANSI encodings will be a superset of ASCII, so most ASCII values will work.
(ASCII is 7-bit only, with values from 0 through 127)