| Crates.io | cp437 |
| lib.rs | cp437 |
| version | 0.1.1 |
| created_at | 2016-05-29 18:32:07.398572+00 |
| updated_at | 2016-05-29 18:45:51.21472+00 |
| description | Module for MSDOS (CP437) Encoding |
| homepage | https://github.com/timglabisch/rust_cp437 |
| repository | https://github.com/timglabisch/rust_cp437.git |
| max_upload_size | |
| id | 5230 |
| size | 14,688 |
cp537 aka DOS-US / OEM-US was widley used ~1980.
this crate supports reading the encoding in rust
cp437 = "*"
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