in reply to Encode PRM files in UCS-2 Little Endian
Please show your code, what output it produces, and what it should produce instead.
In the mean time, read Character encodings and Unicode. Maybe it helps.