[jQuery] Charset and load()

2006-09-02 Thread Søren Haagerup
Hi, When loading HTML with the load()-function in jQuery, Danish characters like æ, ø, å, Æ, Ø, Å etc. shows up like question marks. How and where should I configure the charset? When I open the site I want to load directly in Firefox, nothing is wrong with the charset - only when loading with

Re: [jQuery] Charset and load()

2006-09-02 Thread John Resig
Hmm... I'm not entirely sure why this might be happening. what happens if you copy-and-paste the page that you're loading in, in to the page that you're loading in to. In other words, you have: pageA.html script $(#foo).load(pageB.html); /script div id=foo/div pageB.html: æ, ø, å, Æ, Ø, Å etc

Re: [jQuery] Charset and load()

2006-09-02 Thread David
Søren Haagerup schreef: When loading HTML with the load()-function in jQuery, Danish characters like æ, ø, å, Æ, Ø, Å etc. shows up like question marks. -You can always transform special characters to their appropriate character code