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

Problem with encoding (Greek characters challenge) #105

Closed
iamedu opened this issue Jan 28, 2013 · 1 comment · Fixed by #109
Closed

Problem with encoding (Greek characters challenge) #105

iamedu opened this issue Jan 28, 2013 · 1 comment · Fixed by #109

Comments

@iamedu
Copy link

iamedu commented Jan 28, 2013

First of all.. what's important.. I'm very excited to see vimgolf, it's a great piece of software and a lot of fun!!

I was trying to solve the Greek character challenge but I noticed that I get strange characters in the output, you can see in the image.

Screenshot from 2013-01-27 23:57:34

I've tried to solve it for a while.. and I'm still think it might be my machine's encoding.

If it's of any help the generated vimgolf files are over here: http://db.tt/Dz1cS7Dp

Thanks for everything and keep up the good work!

@urticadioica
Copy link
Collaborator

The hint from @jdelkins about ruby 1.9 helped me find the problem. The reason this bug shows up in ruby 1.9.3 is that it defaults to psych, which parses YAML's \x80 and higher hex escapes in a different way than syck, interepreting each one as a UTF-8 character instead of a byte.

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

Successfully merging a pull request may close this issue.

2 participants