Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

C++ target doesn't support strings with surrogate pairs #213

Open
soywiz opened this issue Jul 16, 2017 · 0 comments
Open

C++ target doesn't support strings with surrogate pairs #213

soywiz opened this issue Jul 16, 2017 · 0 comments
Labels

Comments

@soywiz
Copy link
Member

soywiz commented Jul 16, 2017

https://github.com/jtransc/jtransc/blob/7dcdac0a6dfb7e23f0f005d07af4fe47ac4b214c/jtransc-main/test/javatest/nio/ModifiedUtf8Test.java#L14

//expect(new byte[]{0, 15, 104, 101, 108, 108, 111, -64, -128, -62, -128, -19, -81, -65, -19, -65, -65}, "hello\0\u0080\uDBFF\uDFFF"); // Surrogate pairs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants