bdwing wrote:
Why does the DataPath.txt have a space between EVERY letter? Surely it should be C:\Program Files\DROD RPG - Tendry's Tale\Data instead of C : \ P R O G R A M F I L E S \ D R O D R P G - T E N D R Y ' S T A L E \ D a t a ; C : \ P R O G R A M F I L E S \ D R O D R P G - T E N D R Y ' S T A L E \ D a t a ;
shouldn't it?
That's no spaces, that's null bytes - DataPath.txt contains
Unicode instead of ASCII where every character is actually 2 bytes long.
It's just that
the first 128 Unicode characters conveniently correspond 1:1 to the first 128 ASCII characters, so ASCII text stored as Unicode will look like ASCII text with null bytes between the characters when opened in an application that doesn't know about Unicode, like Windows 98's notepad.exe and actually most parts of Windows 98.
Come to think of it, perhaps DROD.exe was compiled without the
Windows 98 Unicode layer? At least it's not included in a freshly created VC 2008 project...
____________________________
"
I'm not anti-anything, I'm anti-everything, it fits better."
- Sole
R.I.P. Robert Feldhoff (1962-2009)
[Last edited by Briareos at 05-31-2009 01:55 PM]