|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Squirrelmail UTF-8 and windows-2151 encoding problem.Hello boys, im using squirrelmail for a long time, im very happy and i
think cuz the software is usefull for me. But i have one problem, im from bulgaria, this mean i use cyrillic simbols. I was installed squirrelmail locales package and i setuped prefered language - bulgarian for my options menu. When im logged in the mail the default encoding is windows-1251, this is greates, i read mails without any problems, no matter UTF-8 or windows-1251 encoding. But when i press replay button only mails with windows-1251 encoding is correctly showed, mail with UTF-8 is broken, i see only (unreadable characters). P.P Sorry for my bad language. Best regards K.Kirilov ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ----- squirrelmail-i18n mailing list Posting guidelines: http://squirrelmail.org/postingguidelines Information about translations: http://squirrelmail.org/wiki/LanguageTranslation Statistics for translations: http://l10n-stats.squirrelmail.org/ List address: squirrelmail-i18n@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n |
|
|
Re: Squirrelmail UTF-8 and windows-2151 encoding problem.> Hello boys, im using squirrelmail for a long time, im very happy and i
> think cuz the software is usefull for me. But i have one problem, im from > bulgaria, this mean i use cyrillic simbols. I was installed squirrelmail > locales package and i setuped prefered language - bulgarian for my > options menu. When im logged in the mail the default encoding is > windows-1251, this is greates, i read mails without any problems, no > matter UTF-8 or windows-1251 encoding. > > But when i press replay button only mails with windows-1251 encoding is > correctly showed, mail with UTF-8 is broken, i see only (unreadable > characters). The solution to this problem is to convert the Bulgarian translation from windows-1251 to UTF-8. This can be done with the following commands: iconv -f CP1251 -t UTF-8 squirrelmail.po > squirrelmail.utf-8.po sed 's/cp1251/UTF-8/' squirrelmail.utf-8.po > squirrelmail.po rm squirrelmail.utf-8.po msgfmt -o squirrelmail.mo squirrelmail.po You also need to modify SquirrelMail to use UTF-8 for Bulgarian ("functions/i18n.php" for SquirrelMail 1.4 or "locale/bg_BG/setup.php" for SquirrelMail 1.5). Use the new "squirrelmail.po" and "squirrelmail.mo" and don't forget to restart your web server afterwards. Sincerely, Fredrik ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ----- squirrelmail-i18n mailing list Posting guidelines: http://squirrelmail.org/postingguidelines Information about translations: http://squirrelmail.org/wiki/LanguageTranslation Statistics for translations: http://l10n-stats.squirrelmail.org/ List address: squirrelmail-i18n@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n |
| Free embeddable forum powered by Nabble | Forum Help |