|
|
|
|
|
by CJefferson
2348 days ago
|
|
The problem is many strings might contain things like commit messages, or filenames, neither of which has to be valid unicode. I've had the same problem with a few Python 2 -> 3 conversions -- everything is fine until you have to operate on text or filenames which aren't valid utf8/unicode. |
|
I'm tempted to say "nobody should have filenames like that", but I guess a project like Mercurial needs to be as compatible as possible. Are there modern use cases for filenames like that, or is it fair to say it's all legacy data?