Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / November 2007



Tip: Looking for answers? Try searching our database.

"undefined" - if XML attribute contains German special chars (????)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zangbomm - 08 Nov 2007 22:49 GMT
Hello!
I found out that if XML file's attribute contains German special chars (chars
with umlaut, like: ???? - ä ü ö) then I get "undefined" answer
when I try to read an attributes value. I tryed to change XML file encoding to:
"UTF-8" and "iso-8859-1" but still no luck. "system.useCodepage = true; "
doesn't help as well :-/
The Feldkircher - 09 Nov 2007 09:33 GMT
Hi

Place your text in a CDATA node, I think this should work

Google CDATA for more info.

Hope it helps
zangbomm - 09 Nov 2007 12:16 GMT
Unfortunately I can't change XML files structure or add CDATA :-/ There are
other apps that generate and modify that XML file and the structure is hard
coded and I can't change it. Here is an example of that XML I'm using:

<?xml version="1.0" encoding="UTF-8"?>
<PERSONAL>
<Rida id="HARJ" N="K?tlinJ" Pilt="Pildid/Pole2.jpg"
Mail="Villane.Sokk@test.de" Amet="Peaspetsialist" Osakond="Test osakond"
Byroo="Kalevi b?roo" Koht="16" />
</PERSONAL>

All does work well as soon as I delete letters: "???" Somehow letter "?" is
ok. Also it works if I publish it for Flash Player 6. If I delete attribute
"Byroo" or just a letter "?" from this XML, it works like a charm.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.