Light C Unicode 库 [英] Light C Unicode Library
问题描述
我正在寻找一个小型的 C 库来处理 utf8 字符串.
I'm looking for a small C library to handle utf8 strings.
具体来说,基于 unicode 分隔符的拆分以与词干算法一起使用.
Specifically, splitting based on unicode delimiters for use with stemming algorithms.
相关帖子已建议:
ICU http://www.icu-project.org/(我觉得它太笨重了用于我在嵌入式设备上的目的)
ICU http://www.icu-project.org/ (I found it too bulky for my purposes on embedded devices)
UTF8-CPP:http://utfcpp.sourceforge.net/(优秀,但 C++ 不是 C)
UTF8-CPP: http://utfcpp.sourceforge.net/ (Excellent, but C++ not C)
有没有人找到任何独立于平台的小型代码库来处理 unicode 字符串(不需要自然化).
Has anyone found any platform independent, small codebase libraries for handling unicode strings (doesn't need to do naturalisation).
推荐答案
我成功使用的一个漂亮、轻便的库是 utf8proc.
A nice, light, library which I use successfully is utf8proc.
这篇关于Light C Unicode 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!