Reputation: 19
What format is it? There are any way to translate to readable text in Python?
\xfe\xff\x00M\x00i\x00c\x00r\x00o\x00s\x00o\x00f\x00t\x00\xae\x00 \x00W\x00o\x00r\x00d\x00 \x002\x000\x001\x009
Upvotes: 0
Views: 89
Reputation: 444
This is UTF-16 encoding. You can decode it like so:
s = b'\xfe\xff\x00M\x00i\x00c\x00r\x00o\x00s\x00o\x00f\x00t\x00\xae\x00 \x00W\x00o\x00r\x00d\x00 \x002\x000\x001\x009'
print(s.decode('utf16')) # Microsoft® Word 2019
Upvotes: 3