Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strings #5

Open
ericlass opened this issue Apr 15, 2020 · 0 comments
Open

Strings #5

ericlass opened this issue Apr 15, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ericlass
Copy link
Owner

Of course we need strings. They come in two flavors:

  1. ISO-8859-1 (one byte per character, null-terminated)
  2. UTF-16 (only the BPM, 0x0000 - 0xFFFF)

Enclosed in ". Default for literals is ISO-8859-1.
"Hello World!"

To make it UTF-16 add a leading "u":
u"Hellö Wörld!"

@ericlass ericlass added the enhancement New feature or request label Apr 15, 2020
@ericlass ericlass added this to the v1.0 milestone Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant