Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

GCC and UTF-16 command line support

Options
  • 12-03-2008 9: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 Posts: 656 ✭✭✭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