Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Error when building story

Hi! Im using Twine 1.4.2 on Win7 and getting
[quote]Error

An error occurred while building your story.

Traceback (most recent call last):
  File "storyframe.pyo", line 914, in rebuild
  File "storyframe.pyo", line 991, in viewBuild
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 3: ordinal not in range(128)

I think its because of path to the story contains non-ASCII characters: Ive moved it to D:\ and this error has gone.

Comments

  • The Twine GUI currently has very limited Unicode support, so even though it allows you to use non-english characters within file paths and the story text within the Passage editor, those same characters may cause errors when it comes to building your story.

    The version of Python that Twine is currently written in only uses Unicode based strings (text) variables if you make it (by default it uses ASCII) and the code in Twine does not do this.

    When building your story the code tries to convert each character of the file path and the text of your story from whatever character type it currently is into UTF-8 (a form of Unicode), and because of the way the code is written it currently does this by first converting those characters into ASCII which fails for most characters that have accents. (like Hungarian for instance)
Sign In or Register to comment.