Unicode std::string class replacement

前端 未结 5 815
滥情空心
滥情空心 2021-02-06 01:18

I\'m looking for suggestions regarding unicode aware std::string library replacements. I have a bunch of code that uses std::string, its iterators etc, and would like to now sup

5条回答
  •  有刺的猬
    2021-02-06 01:44

    what unicode encoding do you need? If utf-8 is ok you can have a look at Glib::ustring

    Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as UTF-8.

提交回复
热议问题