Unicode string normalization in C/C++

前端 未结 5 1696

Am wondering how to normalize strings (containing utf-8/utf-16) in C/C++. In .NET there is a function String.Normalize .

I used UTF8-CPP in the past but it does not prov

5条回答
  •  悲&欢浪女
    2021-02-13 04:01

    "Lightweight" in your context means "with limited functionality". I would use ICU source as an example, and reference http://unicode.org/reports/tr15/ to implement this "lightweight" functionality.

提交回复
热议问题