Updates to this thread after more testing:

1. When adding xml to a dom like so: <@assign local$mydom <@dom value='<?xml version="1.0" encoding="UTF-8"?><xml />'>> Witango does not complain about the declaration, however, it does ignore, and just assumes ISO-8859-1 encoding. This also applies to using the <@include file> method.

However, if you do an insert of xml with a declaration, like from a file, it will complain, and thrown an error. So if you use <@dominsert> and I assume <@domreplace>, the xml you insert, must not have a declaration, it must be stripped, and again, ISO-8859-1 encoding is assumed.

2. I have a project we are just finishing, that accepts xml that was generated from ASP .NET, and is UTF-8 encoded. I don't have control at this point to say, please encode as ISO-8859-1 so witango will interpret correctly. I just tested this app with some special characters, german and spanish, and witango messed them up, as expected.

So I am writing a helper (external command) for witango that will solve this problem, because I have to present this solution on Thursday.

--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

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

Reply via email to