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

What about allowing special characters in bare-keys? #401

Closed
TheElectronWill opened this issue Mar 21, 2016 · 2 comments
Closed

What about allowing special characters in bare-keys? #401

TheElectronWill opened this issue Mar 21, 2016 · 2 comments

Comments

@TheElectronWill
Copy link
Contributor

Allowing special characters, and in particular those with an accent (like é, è, à, ï) would be very practical for many languages. It would save us from quoting half of the keys, like this:

"météo" = "weather"
"été" = "summer"
hiver = "winter"

I don't really see any drawback of allowing accents, but please tell me if I'm wrong.

@TheElectronWill TheElectronWill changed the title What about allowing special characters in bare-key? What about allowing special characters in bare-keys? Mar 21, 2016
@BurntSushi
Copy link
Member

dupe of #337

@TheElectronWill
Copy link
Contributor Author

My mistake, I should have searched more ^^
I've read most of the explainations about the choice of restricting bare-keys, but that doesn't completely satisfy me. Maybe I'll add an option in my lib to allow any character but .[] = in bare-keys.

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