How to write string by unicode values in Rust

1 Answer

0 votes
fn main() {
    let unicode_s = "\u{211D}\u{212D}\u{213D}\u{24CA}";
    
    println!("{}", unicode_s);
}




/*
run:

ℝℭℽⓊ

*/

 



answered Feb 7, 2023 by avibootz
...