Re: Change of SM default_charset to UTF-8

Tomas Drbohlav <[email protected]> Sat, 02 May 2009 18:12:17 +0200
Newsgroups gmane.mail.squirrelmail.internationalization
Message-ID <[email protected]>
Fredrik Jervfors napsal(a):
>> 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?
> 
> Personally I like it, Miro. It has been discussed before and it can
> certainly be done in the development version. As for 1.4.18 I'm not sure.
> I'd like to have some testing time in 1.5.2 SVN first.
> 
> What do the rest of the list think? If I see no objections I'll go ahead
> and commit your suggested change to 1.5.2.

I would certainly vote for Miro's proposal. If you plan to test it in 
1.5.2, which I think is wise, I do not see any reason to wait.

Bye,

  Drb

------------------------------------------------------------------------------
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: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n