I am using Libre Office SDK 4.2.4.
I have written a C++ program that converts files to and from various formats. These all work well with english text files. I am failing to work out how to convert a chinese (and possibly other languages) from .TXT to .ODT. The interesting thing is I can preview the file in Finder on my MAC and see open the file in TextEdit without answering any questions - how do these tools achieve it and how can I get Libre Office to do it?
I don’t think it’s a Font issue as I can preview them in Finder and open it ok in TextEdit.
If I open the using “HTML” as the FilterName and “utf8” and the FilterOptions it nearly works - however the line feeds are not correct.