Unicode strings: Difference between revisions

Content added Content deleted
Line 42: Line 42:
* In 8th all strings are UTF-8 encoded. You can simply enter any text you like in a string.
* In 8th all strings are UTF-8 encoded. You can simply enter any text you like in a string.
* For special characters one may use the "\u" escape, e.g. "\u05ad"
* For special characters one may use the "\u" escape, e.g. "\u05ad"
* All the string manipulation words are UTF-8 aware, so in general the user doesn't have to be concerned about bytes vs characters

=={{header|Ada}}==
=={{header|Ada}}==
* As of Ada 2005, all source/identifiers/keywords/literals/etc can be in up to 32bit characters as long as the compiler is told what encoding you are using.
* As of Ada 2005, all source/identifiers/keywords/literals/etc can be in up to 32bit characters as long as the compiler is told what encoding you are using.