|
From: | Gang Chen |
Subject: | [Mldonkey-bugs] [bug #17618] Incorrect charset used for some locales |
Date: | Mon, 11 Sep 2006 03:39:07 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1) |
Follow-up Comment #4, bug #17618 (project mldonkey): I have tested your patch but unfortunately it doesn't works. The problem is caused by following line: if String.sub s 0 2 = "ZH" && String.length s > 4 then The "ZH" is used to match the locale but the locale string starts with lowercase in most case. It will always fall into default when the locale starts with language id in lowercase. Since it's a convention that locale starts with lowercase, I suggest to always use the lowercase for language id. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?17618> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |