fix: 空渠道检测改用JSONObject.has + 移除gitignore误排除manifest
This commit is contained in:
15
decode_png.py
Normal file
15
decode_png.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import sys
|
||||
import io
|
||||
|
||||
# Set stdout to UTF-8
|
||||
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
|
||||
|
||||
with open(r"D:\Yuzu-GCA\screen.png", 'rb') as f:
|
||||
data = f.read()
|
||||
|
||||
print(f"Total bytes: {len(data)}")
|
||||
|
||||
# Try UTF-16 LE decode
|
||||
text = data.decode('utf-16-le', errors='replace')
|
||||
print("=== Decoded as UTF-16 LE (first 10000 chars) ===")
|
||||
print(text[:10000])
|
||||
Reference in New Issue
Block a user