XML and Unicode programming doubts

Discussion in 'XML' started by Gotch@, Jan 9, 2007.

  1. Gotch@

    Gotch@ Guest

    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
    Gotch@, Jan 9, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    525
  2. Manzanita

    libraries, IDE and some doubts.

    Manzanita, Apr 1, 2004, in forum: Java
    Replies:
    1
    Views:
    308
    Andrew Thompson
    Apr 2, 2004
  3. PJ

    doubts in XML Schemas

    PJ, Sep 27, 2005, in forum: XML
    Replies:
    1
    Views:
    371
    Martin Honnen
    Sep 27, 2005
  4. Kottiyath

    Event Driven programming - Doubts

    Kottiyath, Dec 22, 2008, in forum: Python
    Replies:
    3
    Views:
    380
    Bryan Olson
    Dec 23, 2008
  5. shaji a

    XML doubts please reply

    shaji a, Aug 14, 2009, in forum: XML
    Replies:
    2
    Views:
    1,024
    Joe Kesselman
    Aug 14, 2009
Loading...

Share This Page