Unicode strings: Difference between revisions
Content added Content deleted
(added C#) |
(Add Vala example) |
||
Line 1,252: | Line 1,252: | ||
*Is there any Unicode support? Only encoding/decoding UTF-8. |
*Is there any Unicode support? Only encoding/decoding UTF-8. |
||
*Future support? If somebody writes the libraries. For example, it is straight forward to write a front end to PCRE and thus acquire a Unicode aware regular expression engine. |
*Future support? If somebody writes the libraries. For example, it is straight forward to write a front end to PCRE and thus acquire a Unicode aware regular expression engine. |
||
=={{header|ZX Vala}}== |
|||
Vala strings are UTF-8 encoded by default. In order to print them correctly on the screen, use stdout.printf instead of print. |
|||
<lang vala>stdout.printf ("UTF-8 encoded string. Let's go to a café!"); |
|||
</lang> |
|||
=={{header|ZX Spectrum Basic}}== |
=={{header|ZX Spectrum Basic}}== |