« Return to Thread: Change of SM default_charset to UTF-8

Change of SM default_charset to UTF-8

by Miro Konecny :: Rate this Message:

Reply to Author | View in Thread

Hi all,

  seeing that 3 more languages are going to switch to UTF-8 for SM 1.4.18, I'd like to propose to switch the SM's default_charset to UTF-8 as well.

The definition for it resides in config/config_default.php and I suggest to modify it as follows:

------------------

/**
 * Default Charset
 *
 * This option controls what character set is used when sending mail
 * and when sending HTML to the browser. By default it's set to 'utf-8',
 * which ensures that mail written in any charset could be handled correctly.
 *
 * This option is active *ONLY* when default language is en_US. In other
 * cases SquirrelMail uses charset that depends on default language.
 * See $squirrelmail_default_language
 *
 * If you're seeing any strange problems with UTF-8, you might try to set
 * the default charset to 'iso-8859-1'.
 * @global string $default_charset
 */
$default_charset = 'utf-8';

----------------------

The above change will have zero impact on existing installations, since this template file is used just for fetching defaults during first SM installation.
Anyway, I do belive that setting this to UTF-8 is a good way to express our common preference for UTF-8 and initiate migration towards it.

What do you think?

Regards, MK

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
-----
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

 « Return to Thread: Change of SM default_charset to UTF-8