matyalatte / tuw

Tiny GUI wrapper for command-line tools
MIT License
31 stars 2 forks source link

add `codepage` option to support UTF-8 outputs on Windows #43

Closed matyalatte closed 2 months ago

matyalatte commented 2 months ago

Related to #36.

Added codepage option to convert UTF-8 outputs to wstrings on Windows. You should use "codepage": "utf8" or "codepage": "utf-8" when your command outputs UTF-8 strings on Windows.