Package: mantis
Version: 0.19.2-3
Severity: normal

I'm using Traditional Chinese version of mantis, and I've set 
        $g_default_language     = 'chinese_traditional';
        $g_fallback_language    = 'english';
in my /etc/mantis/config.php file.

I converted the character code of the language file 
(gui/lang/strings_chinese_traditional.txt) to UTF-8. I also set the variable 
$s_charset to 'UTF-8'.

Mantis works perfectly, except the character code used to send e-mail. Since 
the default character code mantis sent is English, the character code sets is 
"windows-1252", according to gui/lang/strings_english.txt. So any e-mail 
clients will treat the UTF8 strings in the mail as "windows-1252", results in 
many question marks. Changing the $s_charset to 'UTF-8' in strings_english.txt 
solves the problem.

I recommend to encode every language file in UTF-8. Or at least provide an 
UTF-8 encoded language file for each language, provided as 
"strings_<languagename>_utf8.txt". The Japanese language files are good 
examples.

Please check the original bug report on mantisbt 
http://www.mantisbt.org/mantis/view.php?id=4195

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mantis depends on:
ii  apache2                      2.0.54-4    next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]  2.0.54-4    traditional model for Apache2
ii  debconf                      1.4.52      Debian configuration management sy
ii  grep                         2.5.1.ds1-5 GNU grep, egrep and fgrep
ii  libapache2-mod-php4          4:4.3.10-15 server-side, HTML-embedded scripti
ii  libphp-adodb                 4.52-1      The 'adodb' database abstraction l
ii  makepasswd                   1.10-2      Generate and encrypt passwords
ii  mysql-client                 4.0.24-10   mysql database client binaries
ii  php4-cgi                     4:4.3.10-15 server-side, HTML-embedded scripti
ii  php4-cli                     4:4.3.10-15 command-line interpreter for the p
ii  php4-mysql                   4:4.3.10-15 MySQL module for php4
ii  wwwconfig-common             0.0.43      Debian web auto configuration

Versions of packages mantis recommends:
ii  mysql-server                 4.0.24-10   mysql database server binaries
ii  php4-ldap                    4:4.3.10-15 LDAP module for php4

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to