dentimoer_core/languages/
mod.rs

1pub mod korean;
2
3pub fn str_to_u32s(input: &str) -> Vec<u32> {
4    let unicode_chars: Vec<u32> = input.chars().map(|c| c as u32).collect();
5    unicode_chars
6}
7
8pub fn u32s_to_string(input: Vec<u32>) -> String {
9    let combined_string: String = input.iter().map(|&u| char::from_u32(u).unwrap()).collect();
10    combined_string
11}