<div dir="ltr">One other thing I've noticed that's related to the WHATWG encoding list: in Python, the encoding name "windows-874" seems to be missing. The _encoding_ is there, as "cp874", but "windows-874" doesn't work as an alias for it the way that "windows-1252" works as an alias for "cp1252". That alias should be added, right?</div><br><div class="gmail_quote"><div dir="ltr">On Tue, 9 Jan 2018 at 21:46 Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10 January 2018 at 09:56, Rob Speer <<a href="mailto:rspeer@luminoso.com" target="_blank">rspeer@luminoso.com</a>> wrote:<br>
> Oh that's interesting. So it seems to be Python that's the exception here.<br>
><br>
> Would we really be able to add entries to character mappings that haven't<br>
> changed since Python 2.0?<br>
<br>
Changing things that used to cause an exception into operations that<br>
produce a useful result is generally OK - it's going the other way<br>
(dubious output -> exception) that's always problematic.<br>
<br>
So as long as the Windows specialists give it a +1, updating the<br>
existing codecs to match the MultiByteToWideChar behaviour seems like<br>
a better option to me than offering multiple versions of the codecs<br>
(and that could then be done as a tracker enhancement request along<br>
the lines of "Make the windows-* text encodings match<br>
MultiByteToWideChar").<br>
<br>
Cheers,<br>
Nick.<br>
<br>
--<br>
Nick Coghlan   |   <a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>   |   Brisbane, Australia<br>
</blockquote></div>