[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: [PATCH] BUG 158663 - Encoding detection is broken in Konqueror
From: Thiago Macieira <thiago () kde ! org>
Date: 2008-10-13 6:42:16
Message-ID: 200810130842.37743.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Thanomsub Noppaburana wrote:
>diff -Nur kdelibs-4.1.2.orig/kdecore/localization/kencodingdetector.cpp
> kdelibs-4.1.2/kdecore/localization/kencodingdetector.cpp ---
> kdelibs-4.1.2.orig/kdecore/localization/kencodingdetector.cpp???????200
>8-08-28 15:08:22.000000000 +0700 +++
> kdelibs-4.1.2/kdecore/localization/kencodingdetector.cpp????2008-10-11
> 02:58:22.000000000 +0700 @@ -1023,6 +1023,9 @@
>? ? ? ? ? ? ? ? ?if( (pos = str.indexOf("=", pos)) == -1)
>? ? ? ? ? ? ? ? ? ? ?continue;
>?
>+ ? ? ? ? ? ? ? ?// skip '='
>+ ? ? ? ? ? ? ? ?++pos;
>+
>? ? ? ? ? ? ? ? ?// skip whitespace before encoding itself
>? ? ? ? ? ? ? ? ?while (pos < (int)str.length() && str[pos] <= ' ')
>? ? ? ? ? ? ? ? ? ? ?++pos;
Patch makes sense.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic