4 lines
109 B
Text
4 lines
109 B
Text
fn main() {
|
|
let s = "文字化け"; // UTF-8
|
|
println!("Character length: {}", s.chars().count());
|
|
}
|