[Github-comments] [geany/geany] Incorrect selection length calculation with cyrillic text (#2202)

Bernhardt Mark notifications at xxxxx
Thu Jun 20 06:25:08 UTC 2019


When text contains cyrillic symbols and user selects some text, the selection length displayed in bottom status bar is incorrect. By fact, it is twice as much as it actually is. It looks like a size of selected string in bytes (UTF-8), but not a length. This problem is similar to #1958 . Geany version is 1.35.
![geany1](https://user-images.githubusercontent.com/6756060/59825630-fb561b80-934d-11e9-89e7-5336a593bddb.PNG)
![geany2](https://user-images.githubusercontent.com/6756060/59825638-fee9a280-934d-11e9-80d9-89e8a383f1f9.PNG)

[geany_sample.txt](https://github.com/geany/geany/files/3309042/geany_sample.txt)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2202
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190619/d5e3088b/attachment-0001.html>


More information about the Github-comments mailing list