UTF-8 to Shift JIS wrapper for old 32-bit Windows compilers.
Go to file
Luke Street db4f9af254 Put encoding_rs/simd-accel behind a nightly feature 2023-09-08 17:17:31 -04:00
.github/workflows Put encoding_rs/simd-accel behind a nightly feature 2023-09-08 17:17:31 -04:00
src Hook `IsDBCSLeadByte`; cleanup & improvements 2023-09-08 16:57:00 -04:00
.gitignore Initial commit 2023-09-07 00:27:47 -04:00
Cargo.lock Hook `IsDBCSLeadByte`; cleanup & improvements 2023-09-08 16:57:00 -04:00
Cargo.toml Put encoding_rs/simd-accel behind a nightly feature 2023-09-08 17:17:31 -04:00
LICENSE-APACHE Cleanup & add README, LICENSE, CI config 2023-09-07 16:29:18 -04:00
LICENSE-MIT Cleanup & add README, LICENSE, CI config 2023-09-07 16:29:18 -04:00
README.md Cleanup & add README, LICENSE, CI config 2023-09-07 16:29:18 -04:00
rustfmt.toml Initial commit 2023-09-07 00:27:47 -04:00

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.