utf8-chars Char-by-char iterator and read_char method for BufRead. use std::io::stdin; use utf8_chars::BufReadCharsExt; fn main() { for c in stdin().lock().chars().map(|x| x.unwrap()) { println!("{}", c); } }