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

UnicodeEncodeError in Python2.7 #18

Closed
ghost opened this issue Apr 4, 2017 · 3 comments
Closed

UnicodeEncodeError in Python2.7 #18

ghost opened this issue Apr 4, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 4, 2017

If the YAML file has any non-latin1 character, strictyaml can't load the document.

Test case:

# coding=utf-8
import strictyaml

yaml = u'''
name: Olé
age: 38
'''
strictyaml.load(yaml).data
@ghost
Copy link
Author

ghost commented Apr 4, 2017

If python2.7 isn't supported, then the problem is that the setup.py says otherwise

@crdoconnor
Copy link
Owner

Thanks for pointing this out, will fix this today.

@crdoconnor
Copy link
Owner

crdoconnor commented Apr 7, 2017

Should be fixed now in version 0.5.3, but if you see any more problems, please let me know. Thanks once again for reporting the issue!

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

1 participant