Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text file conversation from ISO-8859-2 to UTF-8
#2
Macro
Code:
Copy      Help
str sFile="thefile"
str sData
sData.getfile(sFile)
sData.unicode(sData 28592) ;;iso-8859-2 -> UTF-16. The 28592 is from "Code Page Identifiers" table from MSDN library.
sData.ansi(sData CP_UTF8) ;;UTF-16 -> UTF-8
sData.setfile(sFile)

Not tested.
Does not depend on whether QM is running in Unicode mode or not.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)