Print UTF-8 with VBA

Posted by Karsten W. on Stack Overflow See other posts from Stack Overflow or by Karsten W.
Published on 2010-03-26T16:02:43Z Indexed on 2010/03/26 17:13 UTC
Read the original article Hit count: 579

Filed under:
|

Hello,

how can I write UTF-8 encoded strings to a textfile from vba, like

Dim fnum As Integer
fnum = FreeFile
Open "myfile.txt" For Output As fnum
Print #fnum, "special characters: äöüß" 'latin-1 or something by default
Close fnum

Is there some setting on Application level?

© Stack Overflow or respective owner

Related posts about vba

Related posts about utf-8