Skip to content
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

default_locale() fails on 'C.UTF-8' #57

Closed
wRAR opened this issue Sep 20, 2013 · 3 comments
Closed

default_locale() fails on 'C.UTF-8' #57

wRAR opened this issue Sep 20, 2013 · 3 comments

Comments

@wRAR
Copy link

wRAR commented Sep 20, 2013

babel.core.default_locale doesn't handle 'C.UTF-8' as a special case and parse_locale('C.UTF-8') returns ('c', None, None, None) which breaks things.

@mgax
Copy link
Contributor

mgax commented Jan 6, 2014

What is the correct behaviour then?

@wRAR
Copy link
Author

wRAR commented Jan 8, 2014

Handle it similarly to "C", I suppose.

@mgax mgax closed this as completed in c21a332 Jan 8, 2014
@mgax
Copy link
Contributor

mgax commented Jan 8, 2014

I didn't realize you were talking about environment variables. Should be fixed now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants