mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-09 14:28:53 +08:00
Add support to support PUA in BGI string
This commit is contained in:
@@ -723,7 +723,7 @@ impl<T: Read> ReadExt for T {
|
||||
buf.truncate(pos);
|
||||
}
|
||||
}
|
||||
let s = decode_to_string(encoding, &buf)
|
||||
let s = decode_to_string(encoding, &buf, true)
|
||||
.map_err(|e| std::io::Error::new(std::io::ErrorKind::InvalidData, e))?;
|
||||
Ok(s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user