| View previous topic :: View next topic |
| Author |
Message |
Toppy
Sergeant

 Joined: Mar 09, 2006 Posts: 149 Location: Belgium
|
Posted: Wed Jun 04, 2008 3:04 pm Post subject: Change content-type |
|
|
Hi,
I'm once again struggling to get the IncludeExclude-U file to do what I want.
The following forum :
http://forum.zappybaby.be/viewforum.php?f=53
the source shows an incorrect content type was assigned.
| Code: | | <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
while the correct one should be "Western (ISO-8859-1)"
Please, how can I assign, for that specific site, the incorrect meta value to be changed to "Western (ISO-8859-1)" ?
In the default IncludeExclude.ptxt, I see this :
| Code: | | [^.]+.blogmusik.net/cacheDiffusion.php $SET(hRealCT=IncEx: audio/mpeg) |
but I don't know how to get it changed to "Western (ISO-8859-1)".
Once again, thanks for anyone willing to help.
|
|
| Back to top |
|
 |
whenever
Lieutenant

 Joined: May 18, 2007 Posts: 163 Location: China
|
Posted: Fri Jun 06, 2008 3:37 am Post subject: |
|
|
Why would you think that page is not UTF-8 encoded?
|
|
| Back to top |
|
 |
Toppy
Sergeant

 Joined: Mar 09, 2006 Posts: 149 Location: Belgium
|
Posted: Sat Jun 07, 2008 1:30 pm Post subject: |
|
|
| whenever wrote: | | Why would you think that page is not UTF-8 encoded? |
Hi whenever,
sorry for the late reply, had no time for the puter.
Well, Firefox always resets it's character encoding to Unicode,
and then I get weird characters as you see in the shot below.
http://i27.tinypic.com/2n6d9xs.png
When I switch the browser to Western, al shows up like it should, but Firefox always redraws to Unicode when i reload the page.
|
|
| Back to top |
|
 |
whenever
Lieutenant

 Joined: May 18, 2007 Posts: 163 Location: China
|
Posted: Sat Jun 07, 2008 3:47 pm Post subject: |
|
|
| Toppy wrote: | | When I switch the browser to Western, al shows up like it should, but Firefox always redraws to Unicode when i reload the page. |
That's because that page is indeed utf-8 encoded and the charset is declared to utf-8 explicitly in the page source.
Anyway, no matter what caused the display issue and why "Western (ISO-8859-1)" would work, you can write a filter yourself to change the charset, because there doesn't seem to be a place in the IncludeExclude.ptxt file to do the work.
|
|
| Back to top |
|
 |
Toppy
Sergeant

 Joined: Mar 09, 2006 Posts: 149 Location: Belgium
|
Posted: Sat Jun 07, 2008 4:48 pm Post subject: |
|
|
OK, that makes things clear.
Thank you very much for the help. 
|
|
| Back to top |
|
 |
|
|