-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
add thai encoding aliases to encodings.aliases #61456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is almost identical to: http://bugs.python.org/issue854511 import encodings
aliases = encodings.aliases.aliases
more_aliases = {'ibm874' : 'cp874',
'iso_8859_11': 'cp874',
'iso8859_11' : 'cp874',
'windows_874': 'cp874',
}
aliases.update(more_aliases) |
On 20.02.2013 12:48, albertjan wrote:
Please provide evidence that those encodings are indeed the same. Thanks,Marc-Andre Lemburg |
Hi, Regards, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----- Original Message -----
|
On 20.02.2013 15:40, albertjan wrote:
Thanks. Something is wrong with your request, though:
What we could do is add aliases 'x-ibm874' and 'windows_874' to |
Sorry about that.
The following document says the following are aliases: x-IBM874, cp874, ibm874, ibm-874, 874 |
1 similar comment
Sorry about that.
The following document says the following are aliases: x-IBM874, cp874, ibm874, ibm-874, 874 |
From what I can tell cp874 != ibm_874 != iso_8859_11 What I can say is that the current cp874 is the implementation of the windows_874 code page. The page itself references the microsoft code page, and also contains the appropriate characters (like EURO SIGN). https://github.com/python/cpython/blob/master/Lib/encodings/cp874.py https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP874.TXT It seems appropriate to at least alias windows_874 with cp874. They are provably the same. If someone needs the IBM standard, they may have to write a different code page. |
I've created the codepage alias 874. This is only pending is a merge into the mainline. Thanks. |
This is an easy alias to a valid codepage. I supplied proof that they are the same. I don't understand why this has been allowed to languish for 9 months. Did I miss something? Is there more work I need to do? Thanks |
Bumping this again. I'd like to try and understand why this change can not or has not been approved. I added the technical info here to the github PR. Is there a shortage of reviewers? What can I do to help speed up the process? |
Please add To parse emails, I need to use:
|
Adding aliases for Thai language support. The current code page is an implementation of the windows code page. This will alias '874', 'ms874', and 'windows_874' to cp874, adding Thai language support for those users. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Adding aliases for Thai language support. The current code page is an implementation of the windows code page. This will alias '874', 'ms874', and 'windows_874' to cp874, adding Thai language support for those users. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: