stg-annon / BT-Silver-Base

a base game for BT Silver with some edits
29 stars 18 forks source link

19_my_screens.rpy: UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 25066: invalid start byte #36

Closed anon911 closed 8 years ago

anon911 commented 8 years ago

I'm sorry, but an uncaught exception occurred.

While parsing C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win/game/00_hp_rpy/19_my_screens.rpy. UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 25003: invalid start byte

-- Full Traceback ------------------------------------------------------------

Full traceback: File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\bootstrap.py", line 281, in bootstrap renpy.main.main() File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\main.py", line 351, in main renpy.game.script.load_script() # sets renpy.game.script. File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\script.py", line 259, in load_script self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode) File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\script.py", line 723, in load_appropriate_file data, stmts = self.load_file(dir, fn + source) File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\script.py", line 538, in load_file stmts = renpy.parser.parse(fullfn) File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\parser.py", line 2340, in parse lines = list_logical_lines(fn, filedata, linenumber) File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\parser.py", line 184, in list_logical_lines data = f.read() File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/codecs.py", line 674, in read File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/codecs.py", line 480, in read UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 25003: invalid start byte

Windows-7-6.1.7601-SP1

Ren'Py 6.99.8.959

After updating code recently found out all the russian comments in the file were translated to just question marks. Deleted the comments and game ran fine.