Re: [jQuery] åäö doesn't wo rk with load/loadIfModified
1. meta-tag inside sida1.html doesn't work. 2. i don't have access to the IIS admin so i can't change anything there... 3. i've used other ajax-functions (not jquery) to load ISO-8859-1-files the way i do now and that has worked fine... so why shouldn't jquery be able to do that also? /niklas Ⓙⓐⓚⓔ wrote: On 10/17/06, Steven Wittens [EMAIL PROTECTED] wrote: The meta tags for html documents are only a fallback for the real HTTP headers. HTTP headers always take precendence over meta tags. in other words, it's the server config or the application on the server. How it's done in your environment on iis, I don't know. does anyone? -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/-doesn%27t-work-with-load-loadIfModified-tf2355437.html#a6870642 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] åäö doesn't wo rk with load/loadIfModified
where should i put that meta-tag? inside sida1.html? /niklas Ⓙⓐⓚⓔ wrote: your server is sending sida.html as simple ascii. looks like an issue with iis! I bet if you slip a meta tag in there... it can alter the encoding. but my advise is still bite the bullet, go utf-8 my Mac see those question marks as hex 00 0D 00 0D 00 0D 00 0D the file in the zip has C5C4D6E5E4F6. get -e http://www2.hemsida.net/badtant/tabs/sida1.html Connection: close Date: Tue, 17 Oct 2006 05:20:37 GMT Accept-Ranges: bytes ETag: b044d3693eec61:9af Server: Microsoft-IIS/5.0 Content-Length: 30 Content-Type: text/html Last-Modified: Fri, 13 Oct 2006 06:44:26 GMT Client-Date: Tue, 17 Oct 2006 05:10:34 GMT Client-Peer: 212.37.5.72:80 Client-Response-Num: 1 X-Powered-By: ASP.NET pSida 1/p p??/p On 10/12/06, badtant [EMAIL PROTECTED] wrote: here's my page: http://www2.hemsida.net/badtant/tabs/ all files are ISO-8859-1 and here's a zip with all the files: http://www2.hemsida.net/badtant/tabs/tabs.zip John Resig wrote: What's the encoding of the page that you're loading into? Do you have a demo of the pages in action, so that we can verify the problem? --John On 10/12/06, badtant [EMAIL PROTECTED] wrote: come on? someone shouldknow something about this... badtant wrote: hi! i'm trying to use the ajax function loadIfModified to load an extrernal html-file into a div. div id=helptext/div $(#helptext).loadIfModified(help-sida1.html); in help-sida1.html i have the following code: påäöÅÄÖ/p when i run the page i just get questionmarks. anyone who knows whats wrong and what i can do about it? http://www.nabble.com/file/226/error.jpg my pages is ISO-8859-1. åäö loads correctly if i save help-sida1.htm as UTF-8. but that's not an acceptable solution to me... i wan't my files to be ISO-8859-1. -- View this message in context: http://www.nabble.com/-doesn%27t-work-with-load-loadIfModified-tf2355437.html#a6774742 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- John Resig http://ejohn.org/ [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/-doesn%27t-work-with-load-loadIfModified-tf2355437.html#a6790644 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/-doesn%27t-work-with-load-loadIfModified-tf2355437.html#a6849806 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] åäö doesn't wo rk with load/loadIfModified
here's my page: http://www2.hemsida.net/badtant/tabs/ all files are ISO-8859-1 and here's a zip with all the files: http://www2.hemsida.net/badtant/tabs/tabs.zip John Resig wrote: What's the encoding of the page that you're loading into? Do you have a demo of the pages in action, so that we can verify the problem? --John On 10/12/06, badtant [EMAIL PROTECTED] wrote: come on? someone shouldknow something about this... badtant wrote: hi! i'm trying to use the ajax function loadIfModified to load an extrernal html-file into a div. div id=helptext/div $(#helptext).loadIfModified(help-sida1.html); in help-sida1.html i have the following code: påäöÅÄÖ/p when i run the page i just get questionmarks. anyone who knows whats wrong and what i can do about it? http://www.nabble.com/file/226/error.jpg my pages is ISO-8859-1. åäö loads correctly if i save help-sida1.htm as UTF-8. but that's not an acceptable solution to me... i wan't my files to be ISO-8859-1. -- View this message in context: http://www.nabble.com/-doesn%27t-work-with-load-loadIfModified-tf2355437.html#a6774742 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- John Resig http://ejohn.org/ [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/-doesn%27t-work-with-load-loadIfModified-tf2355437.html#a6790644 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] åäö doesn't wo rk with load/loadIfModified
come on? someone shouldknow something about this... badtant wrote: hi! i'm trying to use the ajax function loadIfModified to load an extrernal html-file into a div. div id=helptext/div $(#helptext).loadIfModified(help-sida1.html); in help-sida1.html i have the following code: påäöÅÄÖ/p when i run the page i just get questionmarks. anyone who knows whats wrong and what i can do about it? http://www.nabble.com/file/226/error.jpg my pages is ISO-8859-1. åäö loads correctly if i save help-sida1.htm as UTF-8. but that's not an acceptable solution to me... i wan't my files to be ISO-8859-1. -- View this message in context: http://www.nabble.com/-doesn%27t-work-with-load-loadIfModified-tf2355437.html#a6774742 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/