> On 3 Feb 2021, at 02:49, Christopher Barker <[email protected]> wrote: > > Aside: HTML 5 even has a encoding rule that acknowledges that web pages marked > utf-8 are really windows USA code page and show how to fall back! > > But that doesn't depend ina. system setting does it? So I don't get your > point:
The bug in most (?) .net web apps apparently is that the .net libraries convert to the default system locale and do not assume utf-8. The programmer has to explicity use utf-8. So yes it does depend on a system setting. I came across this in the HTML 5 specs because of working on web page content that did not decode not because I'm a .NET developer. I raise this as this seems to be the same problem that python faces with system locale conflicting with the wider world using utf-8. Barry
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/QZYVQQX2PKO2OY3L2QRACJ5DKQY3KM53/ Code of Conduct: http://python.org/psf/codeofconduct/
