AdeptLanguage / Adept

The Adept Programming Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Wide Characters

opened this issue · comments

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

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

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"Здравствуйте"

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.