#984680 aegisub: Aegisub often freezes when it encounters non-ASCII characters in some situations

Package:
aegisub
Source:
aegisub
Description:
advanced subtitle editor
Submitter:
Kristof Csillag
Date:
2021-03-07 10:45:03 UTC
Severity:
important
Tags:
#984680#5
Date:
2021-03-07 00:17:16 UTC
From:
To:
When copying data from the clipboard, if it has any non-ASCII character, I get this on the console:

../src/common/string.cpp(1185): assert "c < 0x80" failed in FromAscii(): Non-ASCII value passed to FromAscii().

... and the app freezes completely.

I don't know how to recover from this, except by killing the app.

Sometimes the same thing also happens when it encounters accented characters in filenames...
... or even just by opening the menu, if it remembers some accented file names from recent history,
and tries to diplay those options in the menu.

This is very annoying, because the behavious is unpredictable; ie. the thing crashes randomly.

It would be great if this could be fixed somehow.

Thanks.

#984680#10
Date:
2021-03-07 10:43:12 UTC
From:
To:
Hi Kristof,

I've tried pasting some strings with accents or characters as "ç" and
Aegisub didn't crash.

I've also tried to open a .srt file with an accent in its name and also
with strings with accents inside, and it didn't crash either.

Could you provide some example strings and explain the exact steps you
are following until it crashes?

Regards,
Aniol