Convert UTF-16 to UTF-8 under Windows and Linux, in C

前端 未结 8 738
不思量自难忘°
不思量自难忘° 2020-12-01 02:50

I was wondering if there is a recommended \'cross\' Windows and Linux method for the purpose of converting strings from UTF-16LE to UTF-8? or one should use different method

8条回答
  •  再見小時候
    2020-12-01 03:21

    Thanks guys, this is how I managed to solve the 'cross' windows and linux requirement:

    1. Downloaded and installed: MinGW , and MSYS
    2. Downloaded the libiconv source package
    3. Compiled libiconv via MSYS.

    That's about it.

提交回复
热议问题