-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix storing UTF-8 configuration values on Windows
std::string values were accidentally converted to wxString using current charset instead of UTF-8, eventually resulting in double-encoded UTF-8. Fix by explicitly treating narrow strings as UTF-8 in both directions. The actual fix is using str::to_wx(value) instead of wxString(value) in Config::Write(key, std::string); the rest of the changes is just for consistency.
- Loading branch information
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters