Convert a unicode String In C++ To Upper Case

后端 未结 9 2118
予麋鹿
予麋鹿 2020-12-01 14:51

How we can convert a multi language string or unicode string to upper/lower case in C or C++.

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-01 14:53

    In Windows, consider CharUpperBuffW and CharLowerBuffW for mixed-language applications where locale is unknown. These functions handle diacritics where toupper() does not.

提交回复
热议问题