![]() If we decide to not change it in 3.9, we can just rewrite the warning message from 3.9 to 3.10. Use ‘mbcs’ if you want to use current codepage”. So I think it’s time to show warning when people use default encoding and it is not UTF-8, like “Python 3.9 will use UTF-8 for default encoding of text files. And inconvenience using codepage will be bigger quickly, because MS will use cp65001 more often.Ĭurrently, Python changes encoding when user changed language setting.īut when Python 3.9 is released, codepage may be changed by how Python is started, or how Python is installed. ![]() So the problem “when inconvenience using legacy encoding by default become larger than inconvenience using UTF-8”? ![]() We can agree that changing the default eventually. Of course, they can use “mbcs” or “cpNNNN” explicitly. (New versions of Excel have a “UTF-8 encoded CSV” format, but I think that’s pretty new). You can use Unicode characters in bash scripts on Ubuntu, but usually with. I dont know what you mean by 'how many strings are represented by a bash or python script'. For example, writing a CSV file from an older version of Excel with non-ASCII characters present. The default character encoding is UTF-8 (Unicode), though almost all (quite possibly all on a default install) file names are regular ASCII characters, common to most encodings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |