Skip to content

Commit

Permalink
Fixes UTF8 encoding regression
Browse files Browse the repository at this point in the history
#fixes #163 #closes #163
  • Loading branch information
SinghRajenM committed May 14, 2023
1 parent 8920520 commit ae25413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NppJSONViewer/NppJsonViewer/JsonViewDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ auto JsonViewDlg::PopulateTreeUsingSax(HTREEITEM tree_root, const std::string &j

HTREEITEM JsonViewDlg::InsertToTree(HTREEITEM parent, const std::string &text)
{
auto wText = StringHelper::ToWstring(text);
auto wText = StringHelper::ToWstring(text, CP_UTF8);
return m_hTreeView->InsertNode(wText, NULL, parent);
}

Expand Down

0 comments on commit ae25413

Please sign in to comment.