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

UTF characters not rendered correctly in plugin information #77

Closed
rbsec opened this issue Aug 21, 2017 · 1 comment · Fixed by #87
Closed

UTF characters not rendered correctly in plugin information #77

rbsec opened this issue Aug 21, 2017 · 1 comment · Fixed by #87
Labels
Milestone

Comments

@rbsec
Copy link

rbsec commented Aug 21, 2017

Description of the Issue

UTF characters in the plugin information are not rendered correctly in plugin manager when the plugin is viewed (for example, when trying to install a new plugin).

The author of the Npp Xml Treeview plugin is João Rosa but this is shown in Plugin Manager as João Rosa

image

The plugin still installs and works as expected, so this is a minor issue.

Version Information

Plugin manager version : 1.4.9.0 (x64)
Notepad++ version: 7.4.2 (x64)
OS: Windows 10 1703 Enterprise (x64)

@chcg
Copy link
Collaborator

chcg commented Jan 11, 2018

This issue is caused by the usage of UTF-8 in the plugin xml list and the handling as wchar_t aka UFT-16 in the tinyxml parsing. So some transformation with e.g. MultiByteToWideChar() is missing here.

This affects all data from the plugin list, not just the author field like reported above.

@chcg chcg mentioned this issue Jan 14, 2018
@chcg chcg added this to the v1.4.10 milestone Jan 14, 2018
@chcg chcg added the bug label Jan 14, 2018
@chcg chcg closed this as completed in #87 Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants