Re: problem with UTF-8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>
>
> pal-2 wrote:
>>
>>
>>
>>
>> There is a problem with the setting found in functions/i18n.php The
>> Norwegian bokmal should not
>> be set to UTF-8 but to 8859-1:
>>
>> $languages['nb_NO']['NAME']    = 'Norwegian (Bokmal)';
>>
>> $languages['nb_NO']['CHARSET'] = 'iso-8859-1';
>>
>> $languages['nb_NO']['LOCALE']  = array('nb_NO.ISO8859-1',
>> 'nb_NO.ISO8859-1', 'nb_NO');
>>
>> $languages['nb']['ALIAS']      = 'nb_NO';
>>
>> If this is set to UTF-8 the subject gets wrong if it contain letters like
>> øæå. This hapens if you reply/forward a message with such a subject.
>>
>> The translations should stich to 8859-1 as well or the bode get disturbed
>> f containing
>> æøå
>>
>> --
>>
>> PÃ¥l Monstad
>
> Or you should contact people who send emails with invalid MIME headers and
> them to fix their stuff.
>
> If interface is running in utf-8, it should be able to convert correctly
> formated iso-8859-1 emails to utf-8.

Thare are some serious problems with UTF-8 i think. When I run the standard SM 1.14.19/20 things get messed ut, like this reply. øæå have been replaced by som crap in the body when replying.

As far as I have figured out this has do do with UTF-8 in some but not all locale files. Most of them are encoded in ISO8859-1 and some in UTF-8. My conclusion is that changing all to iso8859-1 fix the problems.

Things seams to work better if I turn off the html mail options, but still not perfect.

--

Pål Monstad


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux