Character codes: Difference between revisions

Content added Content deleted
Line 893: Line 893:


scala> '\u0061'
scala> '\u0061'
res4: Char = a</lang>
res4: Char = a

scala> "\uD869\uDEA5"
res5: String = 𪚥</lang>


Worrying about supplemental character sets, we need to test the "next" character as well:
Worrying about supplemental character sets, we need to test the "next" character as well: