[issue33865] unknown encoding: 874

2018-06-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: @stephen: Lib/encoding/aliases.py contains aliases for a (largish) number of encoding names, including both "cp" and "" for most windows code pages. For code page 874 only the name "cp874" can be used and not "874", which apparently causes

[issue33865] unknown encoding: 874

2018-06-14 Thread Steven D'Aprano
Steven D'Aprano added the comment: Please don't post screenshots of text, they make it difficult for the blind and visually impaired to contribute. Instead, please copy and paste the error message into the body of your bug report. (Which I see you have done, which makes the screenshot

[issue33865] unknown encoding: 874

2018-06-14 Thread Prawin Phichitnitikorn
New submission from Prawin Phichitnitikorn : This Error " Current thread 0x238c (most recent call first): Fatal Python error: Py_Initialize: can’t initialize sys standard streams LookupError: unknown encoding: 874" is cause by mapping of 874 encodling is missing in encodings\aliases.py