On Windows i can do like this:
>>> "\x98".encode("ANSI")
b'\x98'
On Linux it throws an error:
>>> "\x98".encode("ANSI")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
LookupError: unknown encoding: ANSI
How can i get b"\x98"
from "\x98"
on linux?
CPXXXX
encodings don't work for me, because \x98 doesnt exist