S
Simon K
I'm trying to write a .txt file with OpenTextFile method. This is working
alright, but since I'm using some danish characters and use Flash to read
the txt file I need to save the file as UTF-8 or Unicode.
Beneath is my code - how do I save the file as UTF-8 or Unicode?
----
Dim fso, f, filespec
Set fso = CreateObject("Scripting.FileSystemObject")
filespec = Server.Mappath("news.txt")
Set f = fspenTextFile(filespec,2, True)
f.Write txtstring
f.Close
alright, but since I'm using some danish characters and use Flash to read
the txt file I need to save the file as UTF-8 or Unicode.
Beneath is my code - how do I save the file as UTF-8 or Unicode?
----
Dim fso, f, filespec
Set fso = CreateObject("Scripting.FileSystemObject")
filespec = Server.Mappath("news.txt")
Set f = fspenTextFile(filespec,2, True)
f.Write txtstring
f.Close