cp437 0.1.1

Module for MSDOS (CP437) Encoding
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 0 items with examples
  • Size
  • Source code size: 14.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.55 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • timglabisch/rust_cp437
    3 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • timglabisch

Rust (readonly) support for the CP437 encoding

cp537 aka DOS-US / OEM-US was widley used ~1980.

this crate supports reading the encoding in rust

install

cp437 = "*"

example


	let mut f = File::open("...").unwrap();
	let mut bytes = f.bytes();
	let mut r = Reader::new(&mut bytes);
	
	println!("Kurzname {}", r.consume(12)); // Kurzname

there is also a convert method you can use to convert a char byte by byte