[BUG] Copy/Paste in UTF-8 v4.9.1
Hi,
There is a bug when copying and pasting text with special (regional) characters using UTF-8 text encoding.
It appears when copying text between npp and other application, and doesn’t matter which way.
When copying and pasting text internally in npp, the bug appears only when combining of using ctrl+c & shift+insert or ctrl+insert & ctrl+v.
Example:
I have text: ąę
ctrl+c & shift+insert: Ä…Ä™
ctrl+insert & ctrl+v: B9EA
It seems like there is some kind of “on the fly” conversion from UTF-8 to ANSI while copying text with ctrl+c and “on the fly” conversion from ANSI to UTF-8 while pasting text with ctrl+v.
I think this is a reason why ctrl+c in conjunction with ctrl+v works fine, ctrl+insert and shift+insert are probably bug free.
This behaviour is a little bit annoying to me, because I often use ctrl+c to copy and than shift+insert to paste.
Something is still strange with the paste function. When I paste non-ASCII text in a UTF8 document in NP++ using ctrl-v, it fails to convert it properly and turns the non-ASCII text into question marks. But when I do so with the context menu or the regular menu (Edit -> Paste) it works fine. So there is still a bug in there somewhere (using 4.9.2).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[BUG] Copy/Paste in UTF-8 v4.9.1
Hi,
There is a bug when copying and pasting text with special (regional) characters using UTF-8 text encoding.
It appears when copying text between npp and other application, and doesn’t matter which way.
When copying and pasting text internally in npp, the bug appears only when combining of using ctrl+c & shift+insert or ctrl+insert & ctrl+v.
Example:
I have text: ąę
ctrl+c & shift+insert: Ä…Ä™
ctrl+insert & ctrl+v: B9EA
It seems like there is some kind of “on the fly” conversion from UTF-8 to ANSI while copying text with ctrl+c and “on the fly” conversion from ANSI to UTF-8 while pasting text with ctrl+v.
I think this is a reason why ctrl+c in conjunction with ctrl+v works fine, ctrl+insert and shift+insert are probably bug free.
This behaviour is a little bit annoying to me, because I often use ctrl+c to copy and than shift+insert to paste.
I want to remind also some other bugs, that I mentioned in this post: http://sourceforge.net/forum/forum.php?thread_id=2027048&forum_id=331753
Regards,
Warmo
This bug will be fixed in the v4.9.2
Don
Something is still strange with the paste function. When I paste non-ASCII text in a UTF8 document in NP++ using ctrl-v, it fails to convert it properly and turns the non-ASCII text into question marks. But when I do so with the context menu or the regular menu (Edit -> Paste) it works fine. So there is still a bug in there somewhere (using 4.9.2).
http://sourceforge.net/forum/message.php?msg_id=4977175