Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

GCC and UTF-16 command line support

  • 12-03-2008 09:10PM
    #1
    Closed Accounts Posts: 1,567 ✭✭✭


    Hi

    Does anyone here have advice or links to tutorials that discuss programming applications on unix based operating systems with support for unicode input.

    the program i'm writing will be C/C++ based, run on any system with gcc, support unicode input from the command line.

    or should i avoid this, and write a gui instead?


Comments

  • Registered Users, Registered Users 2 Posts: 678 ✭✭✭Johnny Jukebox


    Check out the iconv library - http://www.gnu.org/software/libiconv/ - this supports character set conversion for most (all?) character sets.

    If your requirement is that the application handles UTF-16 internally, you could use iconv to convert from the character set in use when the application runs to UTF-16.


  • Closed Accounts Posts: 1,567 ✭✭✭Martyr


    i'm looking at this you mention, and also ICU project

    thanks!


Advertisement