开发者

Is there any library to determine whether a numerical value can be translated to a valid, printable, and meaningful character in a specific charset?

I hope there is any library out there that provides such functionality so that I do not need to dig too much on charset specification.

C++, and ho开发者_Go百科pefully Chinese, and hopefully Windows.


Yes, ICU is a mature library providing Unicode and Globalization support. Among other things it provides easy access to all of the many Unicode character properties, Unicode Normalization, Case Folding and other fundamental operations as specified by the Unicode Standard.


I have not tried to program with it it myself, but in the Unix world the Gnu Library libiconv is very widely used. It is also available for Windows. It is probably a bit more slim then the ICU.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜