-
- Downloads
win32: convert utf-8/utf-16 when accessing win32 apis
- any functions that get strings from windows apis, are converted
and stored as utf8 strings internally
- anytime an internal utf8 string is passed as a parameter to a
windows api function, it is converted to a wstring
- all of these translations apply currently to file paths
- a windows client should make sure to setlocale to utf8 because
we use some dependencies that call mbstowcs and wcstombs instead
of WideCharToMultiByte/MultiByteToWideChar
Change-Id: Ic13f55ace491e1088c0a3d436d3a0d02df7216c3
Reviewed-by:
Sébastien Blin <sebastien.blin@savoirfairelinux.com>
Showing
- MSVC/config.h 2 additions, 1 deletionMSVC/config.h
- MSVC/ring-daemon.vcxproj 3 additions, 2 deletionsMSVC/ring-daemon.vcxproj
- src/archiver.cpp 1 addition, 1 deletionsrc/archiver.cpp
- src/data_transfer.cpp 4 additions, 4 deletionssrc/data_transfer.cpp
- src/fileutils.cpp 71 additions, 23 deletionssrc/fileutils.cpp
- src/fileutils.h 15 additions, 0 deletionssrc/fileutils.h
- src/im/message_engine.cpp 2 additions, 2 deletionssrc/im/message_engine.cpp
- src/jamidht/jamiaccount.cpp 11 additions, 18 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/namedirectory.cpp 2 additions, 2 deletionssrc/jamidht/namedirectory.cpp
- src/manager.cpp 8 additions, 8 deletionssrc/manager.cpp
- src/media/media_encoder.cpp 1 addition, 2 deletionssrc/media/media_encoder.cpp
- src/media/recordable.cpp 0 additions, 3 deletionssrc/media/recordable.cpp
- src/sip/sipaccount.cpp 2 additions, 9 deletionssrc/sip/sipaccount.cpp
- src/string_utils.cpp 22 additions, 14 deletionssrc/string_utils.cpp
- src/string_utils.h 2 additions, 2 deletionssrc/string_utils.h
Loading
Please register or sign in to comment