View previous topic :: View next topic |
Author |
Message |
mreiland Tux's lil' helper
Joined: 13 Jul 2003 Posts: 99
|
Posted: Sun Jun 18, 2006 10:38 pm Post subject: Unicode in C++ |
|
|
I'm getting ready to sit down and start writing a new app, and I'm wondering about C++'s support of Unicode, more specifically UTF-8. I've read about problems with wstring, things such as wofstream throwing away the first byte, etc. Does anyone have any experience with this, and if so, what do you think the best solution would be? |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Jun 18, 2006 11:43 pm Post subject: |
|
|
You may want to check out Glibmm's ustring class. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
dmitchell Veteran
Joined: 17 May 2003 Posts: 1159 Location: Austin, Texas
|
Posted: Sun Jun 18, 2006 11:56 pm Post subject: |
|
|
There's always QString from QtCore. _________________ Your argument is invalid. |
|
Back to top |
|
|
mreiland Tux's lil' helper
Joined: 13 Jul 2003 Posts: 99
|
Posted: Mon Jun 19, 2006 1:11 am Post subject: |
|
|
Unfortunately QT isn't an option, and I'm not a fan of the GPL/LGPL, so I guess I'll have to roll my own.
Are there any resources, or any particular books, everyone would recommend for doing this? I would like to keep the string class as close to std::string as possible.
Thanks. |
|
Back to top |
|
|
nom de plume Tux's lil' helper
Joined: 01 Jun 2006 Posts: 104
|
Posted: Mon Jun 19, 2006 3:54 am Post subject: |
|
|
don't the boost libraries have unicode support? |
|
Back to top |
|
|
|