xmlparse and utf-8 encoding

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 68253
interpreted = N
texte = Hi all, I am trying to parse an xml file with the following format:-  Title text Description text  with the following code:- [xmlparse var=3Dxml_var1][include file=3Dxmlfile][/xmlparse] [xmlnodes ref=3Dxml_var1&path=3Dnamed:rsp] [xmlnodes] [xmlnodeattributes] [name]=3D[value] [/xmlnodeattributes] [xmlnodes] [name]=3D[value] [/xmlnodes] [/xmlnodes]=09 [/xmlnodes] My problem is that the parser seems to be changing the character set = when I use the [value] tag within an [xmlnode] tag. So if there is an = accented character in the 'Description text' this does not show up = properly when using a [value] tag. If I place a [content] tag within = the relevant [xmlnode] tag the accented character shows up Ok. Anyone got any ideas. Thanks - Tom ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: xmlparse and utf-8 encoding ( "Tom Duke" 2006)
  2. Re: xmlparse and utf-8 encoding ( "Olin Lagon" 2006)
  3. Re: xmlparse and utf-8 encoding ( "Tom Duke" 2006)
  4. xmlparse and utf-8 encoding ( "Tom Duke" 2006)
Hi all, I am trying to parse an xml file with the following format:-  Title text Description text  with the following code:- [xmlparse var=3Dxml_var1][include file=3Dxmlfile][/xmlparse] [xmlnodes ref=3Dxml_var1&path=3Dnamed:rsp] [xmlnodes] [xmlnodeattributes] [name]=3D[value] [/xmlnodeattributes] [xmlnodes] [name]=3D[value] [/xmlnodes] [/xmlnodes]=09 [/xmlnodes] My problem is that the parser seems to be changing the character set = when I use the [value] tag within an [xmlnode] tag. So if there is an = accented character in the 'Description text' this does not show up = properly when using a [value] tag. If I place a [content] tag within = the relevant [xmlnode] tag the accented character shows up Ok. Anyone got any ideas. Thanks - Tom ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Tom Duke"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Question from a Neebie (2000) THANKS (1997) Getting a domain listening on port 443 and port 80? (2003) WebCat & WebTen (1997) Some Questions (1997) Secure server question (1997) Mystery authentication (1997) the dreaded unitShipCost (2003) [countWords]? (1997) Hard Questions ? (1997) WCf2 and nested tags (1997) Upgrading 2.1 (2000) date sorting and 'template (1997) Running 2 two WebCatalog.acgi's (1996) Satisfy Me ! was: Why can't support be satisfying to (2000) A Trigger Question (2000) Showif = stumped? (2001) Need relative path explanation (1997) off topic - dna snipets (1997) problems with 2 tags shakur (1997)