#utf-8 #byte #convert

char-from-utf8

A library that converts utf-8 bytes to a char

1 unstable release

0.1.0 Mar 31, 2023

#140 in #utf-8

MIT/Apache

4KB
55 lines

A library that converts utf-8 bytes to a char

use char_from_utf8::{FromUtf8};
fn main(){
	let r:char = char::from_utf8(&[0xE6,0x88,0x91]).unwrap();
	println!("{r}");
}

No runtime deps