Re: [evolution-patches] Patch to enable Thai TIS-620 charset in Evolution 1.4.x
- From: Kitt Tientanopajai <kitt gear kku ac th>
- To: Jeffrey Stedfast <fejj ximian com>
- Cc: evolution-patches ximian com, notzed ximian com
- Subject: Re: [evolution-patches] Patch to enable Thai TIS-620 charset in Evolution 1.4.x
- Date: Thu, 5 Feb 2004 12:40:42 +0700
Hi,
TIS-620 _is_ 8-bit charset. Well, it's 7-bit actually since the standard body defines only second-half of 8-bit table (#128-#255). The full 8-bit table for Thai is ISO-8859-11. It's just that many applications recognize TIS-620, but not ISO-8859-11. Thai users also refer/recognize TIS-620 but not ISO-8859-11. So, I just follow this. All Thai linux distro. define alias for these anyway.
OK, I've just test Evolution 1.4.5 again with
- clean installation / _no_ patch applied
- newly-created user account (to ensure those Gconf things)
- and, LANG=th_TH
These are what I got:
- Evolution can display incoming Thai message (TIS-620 encoded) correctly when setting View -> Character Encoding to 'default' or in Mail Preference -> Message Display -> Default charset encoding is _blank_ or set to Other/TIS-620.
- For outgoing mail composed in Evolution, if Composer Preferences -> Character set is _blank_, mail content will be UTF-8 encoded. with content-type:charset in mail header set to _null_. I can just set charset in the composer pref. to Other/TIS-620 and it will be 8-bit and content-type:charset in mail header will show TIS-620. Mail subject is always UTF-8 encoded, some mail clients (esp. those webmails) cannot show mail subject properly if the mail subject is not all Latin.
So, I think Evolution can send/display Thai messages now, and the patch is _not_ required. If the patch break stuff inside, please just ignore it. Anyway, if it is harmless, please include TIS-620 in encoding preference so that Thai people can actually choose it just like other encodings/languages.
Thanks,
Kitt
On Wed, 04 Feb 2004 11:33:00 -0500
Jeffrey Stedfast <fejj ximian com> wrote:
> You don't want to make the change in camel-charset-map.c, that change
> will actually break stuff since TIS-620 is:
>
> 1. not an 8bit charset
> 2. you did not regenerate the table
>
> also, please add ChangeLog entries for your changes.
>
> (Note: to reply to this you'll need to subscribe to
> evolution-patches ximian com list or your mail will be blocked, which is
> why we've not gotten your mail till now)
>
> Jeff
>
> On Mon, 2003-11-17 at 16:40, Kitt Tientanopajai wrote:
> > Hi,
> >
> > It seems that Evolution 1.4.x does not support Thai TIS-620 charset. Thus, mail component and the others could not display Thai messages. This patch enables the TIS-620 charset in Evolution. The patch has been made against Evolution 1.4.0, but it also works with 1.4.5. Please apply.
> >
> > Cheers,
> > Kitt
> >
> >
>
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-patches
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]