update main.rs
This commit is contained in:
@@ -10,6 +10,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
let d_china = GBK.decode(&h_china, DecoderTrap::Strict)?;
|
||||
|
||||
println!("Encoding name: {}, whatwg name: {}", GBK.name(), GBK.whatwg_name().unwrap_or("None"));
|
||||
println!("{:?}", h_china);
|
||||
println!("{:?}", d_china);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user