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

bad unicode processing #1181

Open
ShinyZero0 opened this issue Oct 26, 2024 · 0 comments
Open

bad unicode processing #1181

ShinyZero0 opened this issue Oct 26, 2024 · 0 comments

Comments

@ShinyZero0
Copy link

ShinyZero0 commented Oct 26, 2024

I have a file with a string with a following symbol

utf8.jsonnet:

"󰕾"

it's an icon from nerd fonts, not sure how much valid it is but jsonnet is the only thing that has problems with it.

when i do hexdumps i have the following results

xxd utf8.jsonnet
00000000: 22f3 b095 be22 0a
jsonnet utf8.jsonnet | xxd
00000000: 22ef bfbd 220a 

and the character in a string becomes something invalid

i've tried the v0.20.0 release as well as 913281d commit

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