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

Selected UTF-8 characters show invalid number of characters #188

Open
nikhilmahale opened this issue Feb 18, 2019 · 0 comments
Open

Selected UTF-8 characters show invalid number of characters #188

nikhilmahale opened this issue Feb 18, 2019 · 0 comments

Comments

@nikhilmahale
Copy link

"characters selected" feature in status bar shows number of characters depending on bytes and not actual characters. Lets consider an UTF-8 encoded Russian string Иосиф Сталин (Joseph Stalin). If we select this string in pn then it shows "23 characters selected". Whereas these are only 12 characters(11 Russian + 1 space) with size 23 bytes. This would most probably happen for other encoding also.

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

No branches or pull requests

1 participant