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

non-ASCII characters, is there a reason? #84

Closed
JobiJoba opened this issue Oct 12, 2019 · 2 comments
Closed

non-ASCII characters, is there a reason? #84

JobiJoba opened this issue Oct 12, 2019 · 2 comments
Labels
question Further information is requested

Comments

@JobiJoba
Copy link

Question
I would like to create keys which contains Thai letters (ex: "ป็นไรครับ").
Unfortunately, I'm facing the error of non-ascii characters.
Right now, my keys are stored in Firebase and I wanted to sync with Hive.
Is there a technical reason why we couldn't do something like that?
Thanks

Code sample

openBox.put("ป็นไรครับ", 10);

Version

  • Platform: Mac; ios ; android
  • Flutter version: 1.9.4+hotfix.4
  • Hive version: 1.0
@JobiJoba JobiJoba added the question Further information is requested label Oct 12, 2019
@simc
Copy link
Member

simc commented Oct 12, 2019

Yes there is. Keys have to be read very quickly. It is super fast to read ASCII strings compared to Unicode strings...

@JobiJoba
Copy link
Author

Ok.
I'll write that content as a value then :)

Thanks

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

No branches or pull requests

2 participants