[ python-Feature Requests-854511 ] Thai encoding alias for 'cp874'
SourceForge.net
noreply at sourceforge.net
Fri Dec 5 11:11:33 EST 2003
Feature Requests item #854511, was opened at 2003-12-05 10:16
Message generated for change (Comment added) made by kamthorn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=854511&group_id=5470
Category: Unicode
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Kamthorn Krairaksa (kamthorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Thai encoding alias for 'cp874'
Initial Comment:
I suggest adding 'tis_620', 'ibm874', 'iso_8859_11',
'iso8859_11', 'windows-874' as alias to 'cp874' to
encodings/aliases.py.
----------------------------------------------------------------------
>Comment By: Kamthorn Krairaksa (kamthorn)
Date: 2003-12-05 23:11
Message:
Logged In: YES
user_id=143334
refer to the page
http://linux.thai.net/thep/mlit/countries.html
There are only two Thai character encoding standard;
'tis-620' and 'iso-8859-11'. The former is under Thai
Industrial Standards Institute (http://www.tisi.go.th/). You
can see details in
http://www.inet.co.th/cyberclub/trin/thairef/tis620-iso10646.html
The later is under ISO
(http://anubis.dkuug.dk/JTC1/SC2/open/02n3333.pdf).
The both of them refer to code page 874.
There are some non-standard Thai character encoding, refer
to code page 874. These are 'windows-874' 'ibm874'
'x-mac-thai' 'tactis' (adds x-mac-thai and tactis)
The name of Thai character encoding is tis-620 not tis-602
as you mentioned.
Summary:
- 'tis620', 'tis_620', 'ibm874', 'iso_8859_11',
'iso8859_11', 'windows-874', 'x-mac-thai', 'tactis' should
alias to 'cp874'
Additional, I found 'tis260' alias to 'tactis' in
aliases.py, I sure 'tis260' is typo and 'tactis' is missing.
I suggest remove it.
(please see my update patch)
----------------------------------------------------------------------
Comment By: M.-A. Lemburg (lemburg)
Date: 2003-12-05 16:57
Message:
Logged In: YES
user_id=38388
Thanks for the suggestion.
Before we can add the aliases we
do however need a reference which clearly says that these
codec names all refer to the same encoding as cp874, esp.
since you seem to have a typo in tis_620 ... the only reference
I could find mentioned tis_602.
----------------------------------------------------------------------
Comment By: Kamthorn Krairaksa (kamthorn)
Date: 2003-12-05 15:46
Message:
Logged In: YES
user_id=143334
This patch is for add Thai encoding aliases to aliases.py
----------------------------------------------------------------------
Comment By: Kamthorn Krairaksa (kamthorn)
Date: 2003-12-05 12:00
Message:
Logged In: YES
user_id=143334
sorry, 'windows_874' not 'windows-874'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=854511&group_id=5470
More information about the Python-bugs-list
mailing list