Jump to content

Unicode strings: Difference between revisions

Add Vala example
(added C#)
(Add Vala example)
Line 1,252:
*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.
 
=={{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}}==
24

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.