Josep Roca wrote:@Paul
With the Quick Run option you're saving the contents to a temporary ansi file:Code: Select all
' Copy the contents of the active document to the temporary source file.
f = freefile
open gCompile.MainFilename for output as #f
put #f, , pDocMain->GetText
close #f
This won't work with unicode.
Thanks Jose, I will fix that. Rookie mistake :-)