https://github.com/forderud/windowscmdunicode
Unicode console and command-line processing on Windows
https://github.com/forderud/windowscmdunicode
Last synced: about 1 year ago
JSON representation
Unicode console and command-line processing on Windows
- Host: GitHub
- URL: https://github.com/forderud/windowscmdunicode
- Owner: forderud
- Created: 2023-01-19T12:54:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T15:41:57.000Z (almost 2 years ago)
- Last Synced: 2025-04-29T16:01:06.528Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Small command-line tool for testing of the folllowing:
* Pass unicode characters as command-line arguments. The executable filename already has a `Æ大` suffix which should automatically show up in `argv[0]`.
* Print unicode characters like `🤍` back to the console.

### Known issues
| Issue | Workaround |
|---------------------------|------------------------|
| Non-ASCII characters in `argv[]` are truncated to `?` if using `int main(int argc, char* argv[])` as entry point. | Instead use `int wmain(int argc, wchar_t* argv[])` as entry point. |
| Windows 10 command prompt (`cmd.exe`) seem unable to display non-ASCII characters written to console. | Upgrade to Windows 11 or use bash shell instead. |
Please contact the repo author if you discover more problems or are aware of better solutions or workarounds.