I don't think the accented characters are in the iso-8859-1 character set. Have you tried utf-8 encoding?

On Jun 12, 2006, at 2:55 AM, Francis Lebourq wrote:

Hi

I have an issue with <@DOMINSERT> command and accentuated characters (like éèàî...)

This code works fine

---------------------------------------------
<@DOMINSERT OBJECT=myDom SCOPE=request>
<xml version="1.0" encoding="iso-8859-1" standalone="no">
        <DIV ID="1">
        <P>Ceci est une exemple de Document structure</P>
        </DIV>

        <DIV ID="2">
        <P>Paragraphe de texte de test</P>
        <P>Suite du paragraphe de texte de test</P>
        </DIV>
</xml>
</@DOMINSERT>

@@request$myDom
---------------------------------------------

because there is no accentuated characters.

But this code ...
---------------------------------------------
<@DOMINSERT OBJECT=myDom SCOPE=request>
<xml version="1.0" encoding="iso-8859-1" standalone="no">
        <DIV ID="1">
<P>Ceci est une exemple de Document structuré</P> <<<< the diff is here
        </DIV>

        <DIV ID="2">
        <P>Paragraphe de texte de test</P>
        <P>Suite du paragraphe de texte de test</P>
        </DIV>
</xml>
</@DOMINSERT>

@@request$myDom
---------------------------------------------

return an Error -902
An error occurred while parsing the XML.
Meta Stack Trace:
Line    Meta Tag
0002 <@DOMINSERT OBJECT=myDom SCOPE=request> <xml version="1.0" encoding="iso-8859-1" standalone="no"> <DIV ID="1"> <P>Ceci est une exemple de Document structuré</P> </DIV> <DIV ID="2"> <P>Paragraphe de texte de test</P> <P>Suite du paragraphe de texte de test</P> </ DIV> </xml> </@DOMINSERT> *The meta stack is interpreted top-to-bottom: the top line shows the inner metatag that caused the error.



I have read the archives of the mailing list but i have get nothing.

I have forgot something ?

Regards

Francis LEBOURQ

______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Bill

William M. Conlon, P.E., Ph.D.
To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306
   vox:  650.327.2175 (direct)
   fax:  650.329.8335
mobile:  650.906.9929
e-mail:  mailto:[EMAIL PROTECTED]
   web:  http://www.tothept.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to