Hi all,

i'm working on a simple script compiler that reads sort of *.ini files.
The app is compiled on a win98 with non-unicode options.

Is there a clean way how to recognize that someone has written a *.ini file on a Win2000/NT/XP ?

I though of simply test the 1st 16bit if the upper byte is 0x00.

How would you do it ?
Is there a more generalized way ?

-
Robert