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

PrettyPrintWriter cannot write emoji in XML 1.1 mode #336

Open
jglick opened this issue May 2, 2023 · 1 comment
Open

PrettyPrintWriter cannot write emoji in XML 1.1 mode #336

jglick opened this issue May 2, 2023 · 1 comment
Labels
Milestone

Comments

@jglick
Copy link
Contributor

jglick commented May 2, 2023

See jenkinsci/jenkins#7924; can draft a unit test for this repo in case it is not obvious. In XML_1_1 mode, writeText uses charAt rather than codePointAt and so throws an error when given a supplementary code point character.

@joehni
Copy link
Member

joehni commented May 3, 2023

This is actual because codePointAt() does not exist in Java 1.4. It is really time for 1.5.x...

@joehni joehni added the bug label May 3, 2023
@joehni joehni added this to the 1.5.x milestone May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants