Convert a unicode String In C++ To Upper Case

后端 未结 9 2064
予麋鹿
予麋鹿 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条回答
  •  有刺的猬
    2020-12-01 14:54

    With quite a lot of difficulty if you're going to do it right.

    The usual use-case for this is for comparison purposes, but the problem is more general than that.

    There is a fairly detailed paper from C++ Report circa 2000 from Matt Austern here (PDF)

提交回复
热议问题