-
Notifications
You must be signed in to change notification settings - Fork 50
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
Some non ascii are not parsed corectly #22
Comments
Hi! Sorry for taking all that time to get back to you... This must be a problem when trying to print the result in an Erlang; I get the same problem:
However, when using a normal program or a simple
|
Pretty strange because I didn't tried to print the string when I discovered the problem. I found out that a pattern matching fails.. |
Could you please share a code snippet demonstrating that failing pattern matching? |
My bad.. I had to use unicode:characters_to_binary instead list_to_binary |
No problem, thank you for nailing it down! |
Try to parse the following file:
https://github.com/ua-parser/uap-core/blob/master/tests/test_device.yaml
if you do print
user_agent_string
for each row when you will hit:The Chinese chars are messed up. and
list_to_binary
fails as wellSilviu
The text was updated successfully, but these errors were encountered: