chungtapd00973 / nppsnippets

Automatically exported from code.google.com/p/nppsnippets
0 stars 0 forks source link

no utf support #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
both while trying to add new snippets and using defined ones - the non-ansi 
characters get corrupted

http://i.imgur.com/grMiX.png
http://i.imgur.com/O1Lq9.png

Original issue reported on code.google.com by spown...@mail.ru on 8 Jan 2013 at 8:46

Attachments:

GoogleCodeExporter commented 8 years ago
There is no proper handling when the coding (UTF-8, etc) differs from the 
coding of the document.

Original comment by fese...@gmail.com on 16 May 2013 at 2:30

GoogleCodeExporter commented 8 years ago
well, as you can see in the first image, in the baackground, I use UTF-8 
characters and the document is UTF-8 encoded (however wihout BOM). But NPP 
knows its UTF8. Why doesn't nppsnippets use this knowledge?

Original comment by spown...@mail.ru on 16 May 2013 at 4:00

GoogleCodeExporter commented 8 years ago
I haven't been able to find out how I can add a text from the database (proper 
WCHAR) to the scintilla component.

Original comment by fese...@gmail.com on 20 Jun 2013 at 2:36

GoogleCodeExporter commented 8 years ago
Fixed in git: 
https://github.com/ffes/nppsnippets/commit/7681e5d8d2fcf07418736b404ad2b369a49da
1f7

Turned out to be not too much code :-)

Original comment by fese...@gmail.com on 21 Jun 2013 at 9:02