Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

"'utf-8' codec can't decode byte 0x99 in position 29: invalid start byte" when trademark symbol is in the name of the game #30

Description

@Pretzelek

pynps -G -zip -c psp -r eur "Extreme Pinball"

[DOWNLOAD] Extreme Pinball (EU) [NPEF00068] for PSP
3sE4F8Tg3kOFfsobRrF1VMUf7hAfYDeDX62mguUM5WEb83auLcpwXcEQQNWP4Jrjfu52tydMworI7oW 100%
[CHECKSUM] No checksum provided by NPS, skipping check
[PKG2ZIP] Attempting to extract [NPEF00068]Extreme Pinball
[] loading...
[
] unpacking PSX
Traceback (most recent call last):
File "d:\python3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "d:\python3\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "D:\Python3\Scripts\pynps.exe_main
.py", line 9, in
File "d:\python3\lib\site-packages\pynps\cli\cli.py", line 667, in cli_main
delete = run_pkg2zip(dl_dile_loc, dl_location, PKG2ZIP, pkg2zip_args, extraction_folder, i)
File "d:\python3\lib\site-packages\pynps\functions\functions.py", line 694, in run_pkg2zip
process = runner(run_lst, cwd=output_location)
File "d:\python3\lib\site-packages\pynps\functions\functions.py", line 643, in runner
out = line.rstrip().decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x99 in position 29: invalid start byte

Replacing out = line.rstrip().decode() with out = line.rstrip().decode('cp1252') in functions.py appears to correct this (though it breaks Japanese title downloading).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions