[erlang-questions] unicode in string literals

Michael Uvarov freeakk@REDACTED
Mon Jul 30 19:33:20 CEST 2012


Hi,

I can write a parse transform for ux, that converts bytes into code
points. Something like this:
ustr("a∞b")

The same idea is used here:
https://github.com/freeakk/i18n#using-unicode-strings-in-source-code
But it converts strings into a ICU format: binary, utf-16. And it is a hack.



More information about the erlang-questions mailing list