Anonymous user
Unicode strings: Difference between revisions
→{{header|WDTE}}
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
|||
Line 1,264:
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|WDTE}}==
WDTE supports Unicode in both identifiers and strings. WDTE is very loose about identifier rules. If it doesn't conflict with a syntactic structure, such as a keyword, literal, or operator, than it's allowed as an identifier.
<lang WDTE>プリント t => print t;
main => プリント 'これは実験です。';</lang>
=={{header|zkl}}==
|