Re: Problem with accentuated letters

2003-03-26 Thread "Andreï V. FOMITCHEV"
David N Bertoni/Cambridge/IBM wrote: Hi Andrei, (...) You are transcoding characters to the local code page, using XMLString::transcode() (I'm assuming that's what XML::getTextContext() does). Unfortunately, there is no way to tell if those characters can be represented in the local code pa

Re: Problem with accentuated letters

2003-03-25 Thread David N Bertoni/Cambridge/IBM
Hi Andrei, > for(XMLSize_t i = 0; i < laListe->getLength(); i++) > { >noeud_courant = laListe->item(i); >//on ne peut pas utiliser tempStr car la taille du contenu peur > être superieur à 99 >char * une_fuite_de_memoire_colmate = > XMLString::transcode(noeud_courant->ge

Re: Problem with accentuated letters

2003-03-25 Thread "Andreï V. FOMITCHEV"
Neil Graham wrote: Hi Andrei, Curiously, when I use Xerces DOMParser for parse a XML file, I can save it or print it with DOMWriter, the accentuated characters are quite present but if I reach the nodes, I don't have any more accents. Good; so the parser is evidently doing the right thing.

Re: Problem with accentuated letters

2003-03-25 Thread Neil Graham
Hi Andrei, Sorry for the misspelling; all the talk about French put me in French mode. :) > I tried: > XMLPlatformUtils::Initialize("fr_FR"); > as that is indicated in a post of this list but the result is the same one. Of course it is; there aren't any French error messages. :) > Curiously,

Re: Problem with accentuated letters

2003-03-25 Thread "Andreï V. FOMITCHEV"
Neil Graham wrote: Hi Andre, Sorry, but it is Andrei XMLPlatformUtils::Initialize("iso8859-1"); XMLPlatformUtils::Initialize("iso-8859-1"); XMLPlatformUtils::Initialize("ISO-8859-1"); XMLPlatformUtils::Initialize("fr_FR"); The first parameter to Initialize represents the Locale (i.e., langu

Re: Problem with accentuated letters

2003-03-25 Thread Neil Graham
Hi Andre, > XMLPlatformUtils::Initialize("iso8859-1"); > XMLPlatformUtils::Initialize("iso-8859-1"); > XMLPlatformUtils::Initialize("ISO-8859-1"); > XMLPlatformUtils::Initialize("fr_FR"); The first parameter to Initialize represents the Locale (i.e., language) in which parser error messages shoul

Problem with accentuated letters

2003-03-25 Thread "Andreï V. FOMITCHEV"
Hi, Like many people, I have a problem with Xerces-c and iso-8859-1 encoding of XML files. When I parse (I tries XercesDOMParser and DOMBuilder) a XML file containing the (french) accentuated characters, the content of the associated XML node is empty ... When I create a XML text node with accentua