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

Crash with strange characters in scripts (ä,ö,ü...) #139

Open
PragTob opened this issue Nov 17, 2011 · 3 comments
Open

Crash with strange characters in scripts (ä,ö,ü...) #139

PragTob opened this issue Nov 17, 2011 · 3 comments

Comments

@PragTob
Copy link
Member

PragTob commented Nov 17, 2011

Hacketyhack crashes when I save a script just containing some letters, some of them being ä, ö or ü, and then restart hacketyhack.

Error is invalid byte sequence in US-ASCII

I believe it shouldn't crash (then maybe a shoes issue) or at least hacketyhack should catch this and load anyway but without the compromised script.

And I thought that my code messed things up :-/

@steveklabnik
Copy link
Member

Hrm. Can you get a trace on this? I thought we were coercing everything to UTF8...

@PragTob
Copy link
Member Author

PragTob commented Jan 27, 2012

Hey I can't copy from the shoes error console so I made a screenshot. Encoding seems to be US-ASCII although my system encoding and everything is imo correctly set to UTF-8.

I got the error by creating a script simply containing

ä

and saving it with the name ae - then I restarted hacketyhack, that's the error you see. hacketyhack is current Master version and shoes is current development version (both freshly pulled from upstream):

HacketyHack Encoding Error

edit: these image hosters are weird, I get a forbidden... maybe this link works

@steveklabnik
Copy link
Member

No worries. The reproducibility is the big thing. Thanks.

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