Re: [jQuery] Ajax, encoding and german umlauts

2007-03-22 Thread SeViR
Hi, Marc, recently I had a similar problem with Tomcat+OracleDBMS with euro symbol, so I found that Tomcat use an internal codification (normally utf-8, but you can change that) and in Oracle you have the same (another problem with codification). My hard solution was: HTML: headmeta

Re: [jQuery] Ajax, encoding and german umlauts

2007-03-22 Thread Marc Jansen
Jake, I think I#ve fixed it (using PHPs utf8_decode()-function just before sending the request). Thanks alot Marc Marc Jansen schrieb: Hey Jake, Ⓙⓐⓚⓔ schrieb: it's really hard to tell from pasted files! Yes, you're right... I'll try to get up a minimal example at a

Re: [jQuery] Ajax, encoding and german umlauts

2007-03-22 Thread Ⓙⓐⓚⓔ
that's great! but it's a patch! You elected to avoid UTF, and you should never have to see it. I prefer UTF . Perhaps you should learn to love UTF! On 3/22/07, Marc Jansen [EMAIL PROTECTED] wrote: Jake, I think I#ve fixed it (using PHPs utf8_decode()-function just before sending the

[jQuery] Ajax, encoding and german umlauts

2007-03-21 Thread Marc Jansen
Hi list, I searched the mailinglist-archives and the wiki but could not find a solution to my problem: I send AJAX requests to an oracle server, which in turn should send appropriate XML. E. g. I'm querying for streets starting with the string 'sch'. The server answers with an ISO-8859-1

Re: [jQuery] Ajax, encoding and german umlauts

2007-03-21 Thread Ⓙⓐⓚⓔ
when I see the accented A character it tells me that someone is sending unicode but expecting 8859-1! As I converted everything to unicode, I've never had this problem. Is the html page being served as utf-8? Do you have a publically accessible version of the page? I'd look at the headers and the

Re: [jQuery] Ajax, encoding and german umlauts

2007-03-21 Thread Marc Jansen
Hey Jake, thanks for your quick response. Ⓙⓐⓚⓔ schrieb: when I see the accented A character it tells me that someone is sending unicode but expecting 8859-1! As I converted everything to unicode, I've never had this problem. I've tried different comnbinations: - html as utf-8 and xml

Re: [jQuery] Ajax, encoding and german umlauts

2007-03-21 Thread Ⓙⓐⓚⓔ
it's really hard to tell from pasted files! are they being served properly? I like to use perl get to get to the bottom of encoding problems. is the file really 8859? or actually utf8 with a header that says 8859? did you look at the response text in firebug? does it look gut? On 3/21/07, Marc

Re: [jQuery] Ajax, encoding and german umlauts

2007-03-21 Thread Marc Jansen
Hey Jake, Ⓙⓐⓚⓔ schrieb: it's really hard to tell from pasted files! Yes, you're right... I'll try to get up a minimal example at a public place by tomorrow. Will you have a look then? are they being served properly? I like to use perl get to get to the bottom of encoding problems.