Unicode strings: Difference between revisions

Content added Content deleted
(Added Kotlin)
(→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details)
Line 755: Line 755:


Here's a simple example of using both unicode identifiers and unicode strings in Kotlin:
Here's a simple example of using both unicode identifiers and unicode strings in Kotlin:
<lang scala>// version 1.1.1
<lang scala>// version 1.1.2


fun main(args: Array<String>) {
fun main(args: Array<String>) {
val åäö = "as⃝df̅ ♥♦♣♠ 頰"
val åäö = "as⃝df̅ ♥♦♣♠ 頰"
println(åäö)
println(åäö)
}</lang>
}</lang>