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

Should XmlEntities.encodeNonUTF also replace "&" with "&"? #14

Closed
cearny opened this issue Nov 21, 2015 · 1 comment
Closed

Should XmlEntities.encodeNonUTF also replace "&" with "&"? #14

cearny opened this issue Nov 21, 2015 · 1 comment

Comments

@cearny
Copy link

cearny commented Nov 21, 2015

It seems it's doing it "behind my back". I am already encoding the illegal XML characters myself and wanted to just make sure we don't end up with non-UTF characters. & seems pretty UTF to me 😄

@mdevils
Copy link
Owner

mdevils commented Dec 13, 2020

Hello @cearny. Sorry for a delay in the response. & character is part of the ASCII range (below char code 256), therefore it is not UTF.

@mdevils mdevils closed this as completed Dec 13, 2020
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

2 participants