Skip to content

Resolve encoding issues on GUI mode#28

Open
kwon0408 wants to merge 2 commits into
labbots:mainfrom
kwon0408:main
Open

Resolve encoding issues on GUI mode#28
kwon0408 wants to merge 2 commits into
labbots:mainfrom
kwon0408:main

Conversation

@kwon0408
Copy link
Copy Markdown

It was found during resolving #26 that the GUI mode gets unable to run if the system has a font with non-ASCII characters on its name.

Specifying an encoding of 'utf8' to subprocess.run finding fonts in the system solved this problem.

Avicennasis added a commit to Avicennasis/NiimPrintX that referenced this pull request Apr 11, 2026
Adds explicit UTF-8 encoding to ImageMagick font list subprocess call.
Fixes GUI crash on Korean Windows (and any non-ASCII locale).
Upstream: labbots#28 by @kwon0408

Closes labbots#26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant