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

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

Projects

None yet

2 participants

@PragTob
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
Member

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

@PragTob
Member
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
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