fn main() { let s = "hello 你好"; for c in s.chars() { println!("{}", c); } for c in s.bytes() { println!("{}", c); } // let c = s.chars()[7]; // println!("{}", c); }