Hex unicode #1095
Unanswered
andrewbaxter
asked this question in
Q&A
Hex unicode
#1095
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I couldn't find any mentions in the documentation, and looking at various example repos everyone pastes strange unicode codepoints into their configs directly, so I assume that the string literals in yuck simply do not support unicode escapes.
There was a PR that introduced
hex_decode
for this reason but it looked like that particular function got excised before merging.In my browser and VS Code the pasted unicode characters look like gibberish arabic, Chinese, etc. I'd very much prefer using unicode directly since I don't want to install and configure all the icon fonts in my editor (not to mention browser), and dealing with a simple ascii sequence like
\u1234
is easy to deal with.Either having unicode escapes supported in yuck or a helper method like
hex_decode
would be awesome.Beta Was this translation helpful? Give feedback.
All reactions