mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
Mainly to get rid of one top level directory. But this will also be useful when there are tests of the embedding API.
18 lines
443 B
Plaintext
18 lines
443 B
Plaintext
// One byte UTF-8 Sequences.
|
|
IO.print("\u0041") // expect: A
|
|
IO.print("\u007e") // expect: ~
|
|
|
|
// Two byte sequences.
|
|
IO.print("\u00b6") // expect: ¶
|
|
IO.print("\u00de") // expect: Þ
|
|
|
|
// Three byte sequences.
|
|
IO.print("\u0950") // expect: ॐ
|
|
IO.print("\u0b83") // expect: ஃ
|
|
|
|
// Capitalized hex.
|
|
IO.print("\u00B6") // expect: ¶
|
|
IO.print("\u00DE") // expect: Þ
|
|
|
|
// TODO: Syntax for Unicode escapes > 0xffff?
|