[dev] getLanguageCharset

Ronan SALMON rsalmon at mbpgroup.com
Wed Jan 5 09:48:03 UTC 2011


Jan Schneider <jan at horde.org> a écrit :
> Zitat von Ronan SALMON <rsalmon at mbpgroup.com>:
>
>> Hi all,
>>
>> using IMP5.0-git traditional mode, when I compose a new message, I
>> can't send the euro sign. The charset seems to be *guessed* over
>> here :
>>
>> framework/Core/lib/Horde/Registry.php: function getLanguageCharset()
>>
>> this function will return charset 'ISO-8859-1' if everything else fails.
>>
>> Shouldn't this return 'UTF8' ? (or at least 'ISO-8859-15')
>
> It might make sense to default this to UTF-8 too now, but this is
> completely unrelated and doesn't have anything to do with the message
> sending charset.
Over here, I haven't any charset pref set. When composing a message, I  
get what ever value is returned by function getLanguageCharset().

>
> If you want to use the euro sign, set your message charset to
> iso-8859-15. One might still argue whether it makes more sense to -15
> instead of -1 at least for West-European languages, but I don't have
> a good answer for this.

I agree that Horde and Horde apps should use iso-8859-15 whenever it  
is using iso-8859-1.

Ronan.




More information about the dev mailing list