since it's not really a full html file, you don't have a head.... just stick it inside... if it doesn't work there, move it up top. if that doesn't work make it a valid html file with <html><head><meta...>...
OR you can see if IIS has a place to set the encoding, (as Apache does system wide, site wide, or directory wide). On 10/17/06, badtant <[EMAIL PROTECTED]> wrote: > > 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 iiiiiis! > > > > 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 <C5><C4><D6><E5><E4><F6>. > > 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 > > > > <p>Sida 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 > >> >> [email protected] > >> >> http://jquery.com/discuss/ > >> >> > >> > > >> > > >> > -- > >> > John Resig > >> > http://ejohn.org/ > >> > [EMAIL PROTECTED] > >> > > >> > _______________________________________________ > >> > jQuery mailing list > >> > [email protected] > >> > 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 > >> [email protected] > >> http://jquery.com/discuss/ > >> > > > > > > -- > > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ > > _______________________________________________ > > jQuery mailing list > > [email protected] > > 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 > [email protected] > http://jquery.com/discuss/ > -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
