View Single Post
Old 05-09-2019, 02:52
default.user default.user is offline
Junior Member
Join Date: Oct 2012
Posts: 5
Default Save file with unicode characters


I've been browsing the forum and the very few other corel VBA related pages in the internet, but I did not find a solution to save and load text as unicode.
My script collects a lot of information in various languages from a large document and when it saves it using
Print #1, "unicode text
all special characters are replaced by '?'
When I switch over to the file object method
objTextStream.WriteLine "unicode text"
The whole line disappears, as soon as it consists of a single special character.

Does anybody have a solution to share ?

Thank you !
Reply With Quote