Skip to content
Snippets Groups Projects
Select Git revision
  • 25068e2e4f2f82c555c58ff0f7d5efdd0fee84e7
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
31 results

message_engine.cpp

  • Andreas Traczyk's avatar
    25068e2e
    win32: convert utf-8/utf-16 when accessing win32 apis · 25068e2e
    Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
    
    - 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: default avatarSébastien Blin <sebastien.blin@savoirfairelinux.com>
    25068e2e
    History
    win32: convert utf-8/utf-16 when accessing win32 apis
    Andreas Traczyk authored and Sébastien Blin's avatar Sébastien Blin committed
    
    - 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: default avatarSébastien Blin <sebastien.blin@savoirfairelinux.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.