Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timglabisch/rust_cp437

cp437 encoding for rust
https://github.com/timglabisch/rust_cp437

Last synced: 3 months ago
JSON representation

cp437 encoding for rust

Awesome Lists containing this project

README

        

# 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

```rust

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