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

Support Wide Characters #280

Open
ghost opened this issue Jan 4, 2024 · 3 comments
Open

Support Wide Characters #280

ghost opened this issue Jan 4, 2024 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 4, 2024

I mean wchar_t. Rust and modern C++ support even more types of strings.

@IsaacShelton
Copy link
Collaborator

I don't personally use wide characters and instead favor UTF-8, but feel free to make a PR.

@ghost
Copy link

ghost commented Jan 18, 2024

I don't personally use wide characters and instead favor UTF-8, but feel free to make a PR.

Does Adept's operator overloading powerful enough to do something like this?

foo WString = L"Здравствуйте"

@IsaacShelton
Copy link
Collaborator

It isn't powerful enough to do that I don't think. The closest is using #embed to embed a raw file as a String.

Although it probably would be good to improve the lexer to have proper support for UTF-8 encoding and wide characters in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant