I'm writing a program in Perl on Windows XP that involves reading the contents of a binary file into an array separated by 1 byte. There is a string that I'm specifically looking for in the file that reads 'AAAAA'. I've found the location of the string, however the hex value of the string is as follows:
41 00 41 00 41 00 41 00 41 00
My guess is that the string is in UTF-16 format but I'm not sure. Can someone lead me in the right direction as to how I would translate this to an ASCII string?
41 00 41 00 41 00 41 00 41 00
My guess is that the string is in UTF-16 format but I'm not sure. Can someone lead me in the right direction as to how I would translate this to an ASCII string?