[bug #17618] Incorrect charset used for some locales

Gang Chen <[email protected]>
Newsgroups gmane.network.mldonkey.bugs
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.