4 ms·
Okay, say I'm gonna start using C more seriously: What library do I use for strings? Not fucking arrays of 8 bit characters. Real Unicode compatible strings wit
by DannoHung 14y ago
Okay, say I'm gonna start using C more seriously: What library do I use for strings? Not fucking arrays of 8 bit characters. Real Unicode compatible strings with concatenation and comparison operations and all that good stuff. And if it works with a regex engine, that's nice too.
- geoka9 14y agohttp://site.icu-project.org/ http://site.icu-project.org/
- DannoHung 14y agoHmmm.... > Strings are the most common and fundamental form of handling text in software. Logically, and often physically, they contain contiguous arrays (vectors) of basic units. Most of the ICU API functions work directly with simple strings, and where possible, this is preferred. Nope. Though the UText API was promising... unfortunately, it is totally incomplete.
- luser001 14y ago... which seems to be written in C++ (based on clicking around in the source tree for a minute). https://ssl.icu-project.org/trac/browser/icu/trunk/source/common/dictionarydata.cpp https://ssl.icu-project.org/trac/browser/icu/trunk/source/co...