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

str-slice can slice within double-width UTF-16 characters #732

Closed
nex3 opened this issue Jun 24, 2019 · 0 comments
Closed

str-slice can slice within double-width UTF-16 characters #732

nex3 opened this issue Jun 24, 2019 · 0 comments
Labels

Comments

@nex3
Copy link
Contributor

nex3 commented Jun 24, 2019

str-slice("c👭d", 2, 2) should return "👭", but on Dart Sass it returns "���" instead (that's the sequence of bytes 0xED, 0xA0, 0xBD, which is not valid UTF-8).

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

1 participant