Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Open
PragTob opened this Issue · 3 comments

2 participants

@PragTob
Collaborator

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

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

@PragTob
Collaborator

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

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
Something went wrong with that request. Please try again.