CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
spacer spacer

Change content-type

 
Post new topic   Reply to topic       All -> FavForums -> Sidki - Proxomitron [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
Toppy

Sergeant
Sergeant


Joined: Mar 09, 2006
Posts: 149
Location: Belgium

PostPosted: Wed Jun 04, 2008 3:04 pm    Post subject: Change content-type
Reply with quote

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. Embarassed

Back to top
View users profile Send private message
whenever

Lieutenant
Lieutenant


Joined: May 18, 2007
Posts: 163
Location: China

PostPosted: Fri Jun 06, 2008 3:37 am    Post subject:
Reply with quote

Why would you think that page is not UTF-8 encoded?

Back to top
View users profile Send private message
Toppy

Sergeant
Sergeant


Joined: Mar 09, 2006
Posts: 149
Location: Belgium

PostPosted: Sat Jun 07, 2008 1:30 pm    Post subject:
Reply with quote

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
View users profile Send private message
whenever

Lieutenant
Lieutenant


Joined: May 18, 2007
Posts: 163
Location: China

PostPosted: Sat Jun 07, 2008 3:47 pm    Post subject:
Reply with quote

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
View users profile Send private message
Toppy

Sergeant
Sergeant


Joined: Mar 09, 2006
Posts: 149
Location: Belgium

PostPosted: Sat Jun 07, 2008 4:48 pm    Post subject:
Reply with quote

OK, that makes things clear.

Thank you very much for the help. Smile

Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Sidki - Proxomitron All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer