Hi Fabian,
the ajax-response that I get from the server is exactly this:
{"data":[{"Artikel_ID":"1","Bezeichnung":"Test","Beschreibung":"asdf \u0080 @
\u00e4\u00f6\u00fc\u00df"}]}
But after an evalJSON the value of data.beschreibung is: "asdf @ äöüß"
I checked this with firebug and Im still confused
Andreas
_____
Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag
von Fabian Lange
Gesendet: Donnerstag, 27. Dezember 2007 01:02
An: [email protected]
Betreff: [Rails-spinoffs] Re: Missing (Euro-Sign)
Hi Andreas,
That is most likely not a ajax issue. But there are multiple things to take
into considerations.
Most likely The page encoding is not UTF-8 but some western iso, which DO
include german umlauts äöü, but which do not include the euro sign , which was
added only lately. So thats something you could check.
Another thing you could check is how the stuff looks on the transport way. Use
firebug to examine the xml / json returned by your ajax call.
It can also be that your serverside (e.g. php) that handles this just chokes on
the Euro and removes it.
Hope any of those suggestions helps.
.: Fabian
_____
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Franke
Sent: Donnerstag, 27. Dezember 2007 00:11
To: [email protected]
Subject: [Rails-spinoffs] Missing (Euro-Sign)
Hi,
if i transmit some data from a mysql database via ajax, then all chars are
missing in the
result of the request. All other chars like [EMAIL PROTECTED] are still in the
result as expected.
Whats going wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---