mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-15 01:24:22 +08:00
Add support to support PUA in BGI string
This commit is contained in:
@@ -116,7 +116,7 @@ impl Script for BGIBpScript {
|
||||
let text_address = i.offset_pos + i.text_offset as usize - 1;
|
||||
// println!("offset: {}, text address: {}, text_offset: {}", i.offset_pos, text_address, i.text_offset);
|
||||
let str = self.data.cpeek_cstring_at(text_address)?;
|
||||
let str = decode_to_string(self.encoding, str.as_bytes())?;
|
||||
let str = decode_to_string(self.encoding, str.as_bytes(), true)?;
|
||||
messages.push(Message {
|
||||
name: None,
|
||||
message: str,
|
||||
|
||||
Reference in New Issue
Block a user