[bug #17618] Incorrect charset used for some locales

spiralvoice <[email protected]>
Newsgroups gmane.network.mldonkey.bugs
Message-ID <[email protected]>
Update of bug #17618 (project mldonkey):

                Severity:              3 - Normal => 4 - Important          
                  Status:                    None => Ready For Test         
                 Release:                    None => 2.7.7                  
        Operating System:                    None => Linux                  
         Binaries Origin:                    None => CVS / Self compiled    
                CPU type:                    None => Intel x86              

    _______________________________________________________

Follow-up Comment #3:

"The normalize_language method should also be changed since it will trim the
"_CC" in the locale string."

Example: for the German language these values exist:

de_DE (Germany)
de_AT (Austria)
de_CH (Switzerland)
de_LU (Luxemburg)
de_BE (Belgium - has German minority)

for all of them using "de" cut by the normalize function is perfectly ok,
otherwise charset_list_from_language would be a
very long function.

In the case of "zh_CN" and "zh_TW" its a different story,
I changed some code so zh_CN and zh_TW are specially treated.

Please try the attached patch and report if it works for you.
    _______________________________________________________

Additional Item Attachment:

File name: lang_tw_cn.patch               Size:1 KB

<http://savannah.nongnu.org/bugs/download.php?file_id=10710>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?17618>

_______________________________________________
  Nachricht geschickt von/durch 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.