You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be that Ruby's default encodings can be unexpected. The default encoding used for text files depends on system settings, so it might work fine for some people and be broken for others.
I think it would be good to use UTF-8 as the default encoding for text files, possibly with an override option on the command line.
A workaround would be to invoke Ruby with the --external-encoding=UTF-8 option.
Unicode characters get scrambled when loaded through Twee2. For example, the back/forward arrows in the latest version of Sugarcube look like this:
Whereas if a story is compiled in Twee2, they look like this:
Also, if a file contains UTF-8 byte-order marks, Twee2 seems to interpret them as literal ASCII characters, in includes and elsewhere.
The text was updated successfully, but these errors were encountered: