Julien Claassen
2007-02-19 17:47:31 UTC
Hello!
I've got one question. I'm writing a library in c++, which needs to handle
different character sets. I suppose for internal purposes UTF-8 is quite
sufficient. So is there a standard string class in the libstdc++ which
supports it?
Can I use something like:
printw(0,0,"%s",my_utf8_string.c_str());
with it?
Is there some kind of good, small example code of how to use libiconv most
efficiently with strings in c++?
Any good hints are appreciated! Thanks!
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
I've got one question. I'm writing a library in c++, which needs to handle
different character sets. I suppose for internal purposes UTF-8 is quite
sufficient. So is there a standard string class in the libstdc++ which
supports it?
Can I use something like:
printw(0,0,"%s",my_utf8_string.c_str());
with it?
Is there some kind of good, small example code of how to use libiconv most
efficiently with strings in c++?
Any good hints are appreciated! Thanks!
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de