Hi Scott,

Looks like I'll have to do string manipulation alright. I have managed
to do this now for the Euro symbol, but I guess my concern was this
could keep raising its head as there could be numerous other characters
that cause problems with the different encodings also. 

What I basically do is create a new XML document instance, and this is
used to store a page that will eventually be rendered to the user. The
XML document will have a SCRIPT element, BODY element etc. Part of the
BODY element is read from another XML file (containing Euro symbols and
maybe more) and once all the results are built up into the document
instance, I create the HTML page using <@ELEMENTVALUE> tags. The
advantage of this is I also use the HTTPRequest object to retrieve the
same pages, and I can return this same XML document instead of having
different ways of processing the page depending if its an initial
request or successive requests.

Not sure if that makes any sense to you, but hopefully some!

Mike.

-----Original Message-----
From: Scott Cadillac [mailto:[EMAIL PROTECTED] 
Sent: 20 September 2005 15:24
To: [email protected]
Subject: RE: Witango-Talk: support for @DOM encoding

Hi Mike,

> I guess the issue for me is I 
> don't have control over the XML source

Okay, that's helpful.


> and when I heard u 
> mention that Witango supported utf-8 then it sounded like 
> what I was after to get out of this problem. 

Well, from the sounds of things you might be reduced to doing some
string
manipulation prior to your <@DOM> assignment. Obviously this could be a
real
pain if your data is large.


> Have u any more 
> details on this? My data is already enclosed within the cdata 
> section, so unfortunately this won't work.

Sorry I don't have more information on this, but I haven't been doing
any
active Witango coding for awhile.

What do you have do with this XML, once you get it? Maybe we should look
at
the problem from the other end.

~ Scott Cadillac
~ 403-254-5002 
~ [EMAIL PROTECTED]

~ Custom Software for Business
  http://custom.softwarefor.net 

~ The XML-Extranet Partnership
~ P.O. Box 69006
  RPO Bridlewood SW
  Calgary, Alberta
  Canada T2Y 4T9
 


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


********************************************************************
This message is intended only for the use of the person(s) ("the intended 
recipient(s)") to whom it is addressed. It may contain information which is 
privileged and confidential within the meaning of applicable law. If you are 
not the intended recipient, please contact the sender as soon as possible. The 
views expressed in this communication may not necessarily be the views held by 
LGCSB (Local Government Computer Services Board).
 
Any attachments  have been checked by a virus scanner and appear to be clean. 
Please ensure that you also scan all messages, as LGCSB does not accept any 
liability for contamination or damage to your systems.
********************************************************************

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

Reply via email to