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

append(char32_t) does not convert back to UTF-8? #15

Closed
vadim-berman opened this issue Jun 23, 2018 · 3 comments
Closed

append(char32_t) does not convert back to UTF-8? #15

vadim-berman opened this issue Jun 23, 2018 · 3 comments
Labels

Comments

@vadim-berman
Copy link

Try calling, for example, my_string.append(U'ü'). The character will be garbled.

The workaround is to convert it to a UTF-8 string in any form.

@DuffsDevice
Copy link
Owner

Hi Vadim!

Thanks for the spot! I have hopefully fixed this bug by fixing utf8_string::utf8_string( value_type ).
Please check again with the newest commit and tell me whether it worked.

Thanks
Jakob

@vadim-berman
Copy link
Author

Hi Jakob,

Yep - this one is fine! Thank you very much.

Best regads, Vadim

@DuffsDevice
Copy link
Owner

Yay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants