Crash with strange characters in scripts (ä,ö,ü...) · Issue #139 · hacketyhack/hacketyhack · GitHub
Skip to content

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

Open

Description

@PragTob

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 :-/

Activity

  1. steveklabnik commented on Jan 24, 2012

    @steveklabnik
    Member

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

  2. PragTob commented on Jan 27, 2012

    @PragTob
    MemberAuthor

    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

  3. steveklabnik commented on Jan 27, 2012

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions