X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=b489818600a3af56b8a0d2a5f6557696cd15abe0;hp=d9fcb3826325d357c3757dbdeb9aabaeaba8b2a2;hb=68386cd533fb3d75a011957aa66fee96eb782c3f;hpb=7ca6d5e1914d15daacd6051419f5d1dbdd24937b
diff --git a/default.filter b/default.filter
index d9fcb382..b4898186 100644
--- a/default.filter
+++ b/default.filter
@@ -2,7 +2,7 @@
#
# File : $Source: /cvsroot/ijbswa/current/default.filter,v $
#
-# $Id: default.filter,v 1.12 2002/09/05 14:55:38 oes Exp $
+# $Id: default.filter,v 1.13 2002/09/11 16:04:20 oes Exp $
#
# Purpose : Rules to process the content of web pages
#
@@ -356,10 +356,49 @@ s%^.*(?
Blocked<
s+^.*warez.*$+No WarezYou're not searching for illegal stuff, are you?
+is
+#################################################################################
+#
+# demoronizer: Correct Microsoft's abuse of standardized character sets, which
+# leave the browser to (mis)-interpret unknown characters, with
+# sometimes bizarre results on non-MS platforms.
+#
+# credit: ripped from the demoroniser.pl script by:
+# John Walker -- January 1998, http://www.fourmilab.ch/webtools/demoroniser
+#
+#################################################################################
+FILTER: demoronizer fixing MS's non-standard use of std charsets.
+
+s/(&\#[0-2]\d\d)\s/$1; /g
+# per Robert Lynch: http://slate.msn.com//?id=2067547, just a guess.
+# Must come before x94 below.
+s/\xE2\x80\x94/ -- /g
+s/\x82/,/g
+#s-\x83-f-g
+s/\x84/,,/g
+s/\x85/.../g
+#s/\x88/^/g
+#s-\x89- °/°°-g
+s/\x8B/~-g
+#s-\x99-TM-g
+# per Robert Lynch.
+s/\x9B/>/g # 155
+
##############################################################################
#
# Revisions :
# $Log: default.filter,v $
+# Revision 1.13 2002/09/11 16:04:20 oes
+# Preserve original quoting style in tags wherever possible. Fixes Bug #605956
+#
# Revision 1.12 2002/09/05 14:55:38 oes
# Synced with the stable branch:
# Revision 1.11.2.6 2002/08/23 14:12:26 oes