If your first byte is an ASCII character (as shown in the example) and your second byte is '\ x00', then you probably have data encoded as UTF-16LE.
, , . , :
python -c "print(repr(open('myfile.txt', 'rb').read(20)))"
, . - , .
, UTF-16 ('\xff\xfe' '\xfe\xff').
, (Windows Linux) ? ?
" " 40 "" ", 1 40. "" :
>>> data = "q\x00w\x00"
>>> unpack("4s", data)
('q\x00w\x00',)
>>> unpack("s", data)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
struct.error: unpack requires a string argument of length 1
>>> unpack("ssss", data)
('q', '\x00', 'w', '\x00')
>>>
@pxh "" , NULS ASCII (, , ). "" " , @pxh . "s" , NUL ("\x00") - .