3 ms·
Not really, imho. It makes more things work out of the box, but input and output for things that used to be ASCII anyway remain the same.
by akx 9y ago
Not really, imho. It makes more things work out of the box, but input and output for things that used to be ASCII anyway remain the same.
- user5994461 9y agoAre you American? Americans always think that changing the encoding is a minor detail. Guess what, changing the default encoding breaks every language that is not English.
- noselasd 9y agoIf it was changed from ascii to utf-8, how does it break everyting else ?
- user5994461 9y agoASCII doesn't exist as such. Characters are encoded in one byte and ascii leaves the highest 128 characters undefined. They are interpreted system-wise, depends on the locale and user settings.
- warbiscuit 9y ago"ascii" the codec does exist under python. It's strictly defined as byte values 0-127, anything in the 128-255 range causes a decoding error... >>> b"abc\xf0".decode("ascii") UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 3 Thus, moving the default from "ascii" to an ASCII-superset should have no decoding issues for previously valid files, since those bytes were never valid to start with.
- noselasd 9y agoASCII very much exists - but what you describe is an entierly different thing. Sure - if the change is from default-user-locale to UTF-8, things would break. But if the changelog is truthful, and the change is from ASCII to UTF-8, things should not break - at least not to any great extent.
- deleted 9y ago[deleted]
- akx 9y agoI'm Finnish, thank you for asking, so I'm quite aware of different encodings.
- JupiterMoon 9y agoIs Finnish representable in Latin1? If so you might be missing some of the suitabilities of converting from "asci" (most things around Europe weren't asci but latin1) to utf.