{"id":17865691,"url":"https://github.com/tats-u/forceu8exe","last_synced_at":"2026-05-03T02:40:36.755Z","repository":{"id":129363322,"uuid":"259900549","full_name":"tats-u/forceu8exe","owner":"tats-u","description":"CLI tool that embeds Windows executable a manifest that forces UTF-8 in ANSI API","archived":false,"fork":false,"pushed_at":"2020-05-03T09:51:35.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T21:43:24.012Z","etag":null,"topics":["cli-app","cli-tool","cpp-tool","rust","utf-8","visualcplusplus","visualcpp","windows","windows-cli"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tats-u.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-29T10:57:49.000Z","updated_at":"2020-05-03T09:51:38.000Z","dependencies_parsed_at":"2023-03-22T01:33:01.922Z","dependency_job_id":null,"html_url":"https://github.com/tats-u/forceu8exe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tats-u/forceu8exe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tats-u%2Fforceu8exe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tats-u%2Fforceu8exe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tats-u%2Fforceu8exe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tats-u%2Fforceu8exe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tats-u","download_url":"https://codeload.github.com/tats-u/forceu8exe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tats-u%2Fforceu8exe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32556771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T00:31:16.350Z","status":"online","status_checked_at":"2026-05-03T02:00:09.297Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-app","cli-tool","cpp-tool","rust","utf-8","visualcplusplus","visualcpp","windows","windows-cli"],"created_at":"2024-10-28T09:24:34.923Z","updated_at":"2026-05-03T02:40:36.741Z","avatar_url":"https://github.com/tats-u.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Force UTF-8 Tool for Windows Executables (forceu8exe)\r\n\r\nThis tool embeds a manifest that force I/O using UTF-8 on Widows executables.\r\n\r\nThey usually performe I/O using legacy encoding (e.g. ISO-8859-1 / Shift-JIS / GBK) by default.\r\nTo force Unicode on them, we have to use UTF-16 (wide characters) API instead.\r\nHowever, other OSes allow us to use UTF-8 and Unicode in narrow strings.\r\nThis tool give Windows executables compatibility with other OSes.\r\n\r\n# Prerequirements\r\n\r\n- Windows SDK in Visual C++ (mt.exe)\r\n- Cargo (the package manager of Rust)\r\n\r\n# How to use\r\n\r\nAdd Cargo and `mt.exe` in PATH in advance.  x64 Native Tools Command Prompt seems to be the most easily accessible.\r\n\r\n```pwsh\r\ncargo install --git https://github.com/tats-u/forceu8exe.git\r\nforceu8exe apply [path of .exe file]\r\n```\r\n\r\nYou can also output the manifest to a file like (e.g. `foobar.exe.manifest`):\r\n\r\n```pwsh\r\nforceu8exe manifest foobar.exe.manifest\r\n```\r\n\r\n```cmake\r\n# snip\r\n\r\nadd_executable(\r\n    foobar\r\n    foobar.exe\r\n    foobar.exe.manifest # Append here\r\n)\r\n\r\n# snip\r\n```\r\n\r\n# License\r\n\r\nMIT\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftats-u%2Fforceu8exe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftats-u%2Fforceu8exe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftats-u%2Fforceu8exe/lists"}