View Single Post
Old 17th February 2005, 18:48   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Using Python, you can use:
code:
f = codecs.open("utf.txt", "r", "utf-8")
t = f.read()
f.close()
t = t.lstrip(unicode(codecs.BOM_UTF8,"utf-8"))
f = open("1250.txt", w)
f.write(t.encode("CP1250"))
f.close()

It's surely possible with many other tools too.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote