UTF-8 to Shift JIS wrapper for old 32-bit Windows compilers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luke Street b85eab4cc8 Hook `GetModuleFileNameA` for mwldeppc GC 3.0+ 3 months ago
.github/workflows Put encoding_rs/simd-accel behind a nightly feature 3 months ago
src Hook `GetModuleFileNameA` for mwldeppc GC 3.0+ 3 months ago
.gitignore Initial commit 3 months ago
Cargo.lock Hook `GetModuleFileNameA` for mwldeppc GC 3.0+ 3 months ago
Cargo.toml Hook `GetModuleFileNameA` for mwldeppc GC 3.0+ 3 months ago
LICENSE-APACHE Cleanup & add README, LICENSE, CI config 3 months ago
LICENSE-MIT Cleanup & add README, LICENSE, CI config 3 months ago
README.md Cleanup & add README, LICENSE, CI config 3 months ago
rustfmt.toml Initial commit 3 months ago

README.md

sjiswrap Build Status

UTF-8 to Shift JIS wrapper for old 32-bit Windows compilers.

When the wrapped executable reads a text file, it will be encoded from UTF-8 to Shift JIS on the fly.

Encoded file extensions:

  • .c
  • .cc
  • .cp
  • .cpp
  • .cxx
  • .h
  • .hh
  • .hp
  • .hpp
  • .hxx

Usage

Download the latest release from here.

$ sjiswrap.exe <exe> [args...]

Building

$ cargo build --target i686-pc-windows-msvc --release

For smaller binaries:

$ cargo +nightly build -Z build-std=std,panic_abort --target i686-pc-windows-msvc --release

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.