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

String.reverse works incorrectly for strings with combining diaeresis #676

Closed
alech opened this Issue Jul 27, 2016 · 3 comments

Comments

Projects
None yet
4 participants
@alech

alech commented Jul 27, 2016

While looking at the Elixir Getting Started guide, I stumbled upon this interesting blog post called The string type is broken. One example is reversing the String "noël", which should result in "lëon". Unfortunately, elm 0.17.1 fails this test, putting the diaresis over the l instead of over the e:

s = "noe\x0308l"
"noël" : String
String.reverse s
"l̈eon" : String

@process-bot

This comment has been minimized.

Show comment
Hide comment
@process-bot

process-bot Jul 27, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot commented Jul 27, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@ckoster22

This comment has been minimized.

Show comment
Hide comment
@ckoster22

ckoster22 Jul 31, 2016

This looks to be a duplicate of #625

ckoster22 commented Jul 31, 2016

This looks to be a duplicate of #625

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

jvoigtlaender Jul 31, 2016

Contributor

Indeed, it does.

Contributor

jvoigtlaender commented Jul 31, 2016

Indeed, it does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment