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

SNBT Unicode Escapes #52

Open
Offroaders123 opened this issue Sep 12, 2024 · 0 comments
Open

SNBT Unicode Escapes #52

Offroaders123 opened this issue Sep 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Offroaders123
Copy link
Owner

Add support for \u-----based character escapes. The parser and stringifier already support the other backslash characters, so I think I forgot that these are another one to look out for.

@Offroaders123 Offroaders123 added the bug Something isn't working label Sep 12, 2024
@Offroaders123 Offroaders123 self-assigned this Sep 12, 2024
Offroaders123 added a commit that referenced this issue Sep 12, 2024
Added a null byte character ('\0', '\u000') into the `ridiculous.*` demos.

I tried writing these with little-varint, but the re-parsing for that didn't seem to work accordingly. Going to do that in the next step instead.

I did discover a bug where SNBT parsing doesn't account for `\u----`-based characters.

#52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant