-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[librptext] conversion_win32.cpp, cpN_to_utf8(): Call cpN_to_utf16().
Windows uses UTF-16 natively, so the UTF-8 conversion function was essentially cpN_to_utf16() followed by "convert to UTF-8". Rewrite the function to actually call cpN_to_utf16() so we can de-duplicate a fairly big chunk of code.
- Loading branch information
1 parent
4e6f03c
commit 6605d38
Showing
1 changed file
with
1 addition
and
53 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