XML and Unicode programming doubts

G

Gotch@

Hi,
I'm writing a C++ application that does XML parsing (throug expat).
Since I want it to have from start Unicode support (so that I won't
have to think about it later), I'm facing various doubts about using
Unicode in a C/C++ program and GCC compiler. I'll list the main ones:

1) It seems that the type wchar_t supports Unicode. Is it true? If I
use this type will my application be able to use unicode with other
libraries and APIs (Gnome, Kde, Windows...)?

2) What about hard wired text? People say that functions such as strcmp
don't bother about Unicode because they only deal with byte lenghts.
Anyway I don't think strcmp(unicodeString, "harwired text") will ever
work the way I expect. So what do you think is the best way to use
string manipulation? Which are the most used open source apis?

3) I really cannot find information in man about this. What are the
relevant man pages?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top