-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove non-ascii name #4103
remove non-ascii name #4103
Conversation
this should be backported to the 2.7.0.0 release branch |
No, because it's a bad idea. There's a reason hackage rejects it. It's not portable and tar doesn't specify what to do with non-ascii characters. That means they land uninterpreted on your hard drive (and possibly incompatible with your local encoding). If you go the interpretation route (always store in tar as UTF-8, then try to convert to local encoding), you'll get into all sorts of other problems (no byte equivalence of filepaths etc.). |
It is not necessary for the HLS release to Hackage, |
How so? My tests show that it incorrectly truncates. That will cause failure to run |
Yeah that is true. It seems we have been missing a couple of |
For the plugins, you have |
Indeed, it truncates, but it looks like Either way, the tests will definitely fail. |
Well, This would become an absolute nightmare if hackage allowed unicode filenames and some cabal versions handle it correctly and others not. |
I agree, and we are getting rid of it! |
Thank you for the explanation, so the universal support for utf-8 for filename just sucks :( |
Fix #4102
Since hackage does not accept non-ascii filename.