Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C/C++ Cross-Platform Unicode Encoding

Is there a cross-platform way (in C/C++) to make from a unsigned char an unicode wchar_t (that can also handle different encodings/codepages as input)? I searching for something like WideCharToMultiByte(...) on W32. My target platform has ARM architecture, so I can't use this...

I would also be fine, with some library, if it's free & can run on an ARM platform...

Any help is welcome!

like image 892
Constantin Avatar asked Apr 27 '26 08:04

Constantin


1 Answers

ICU is a free, open-source, cross-platform library for dealing with Unicode text and other globalization issues. It supports C, C++, and Java.

like image 140
Joel Spolsky Avatar answered Apr 30 '26 00:04

Joel Spolsky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!