How can I turn file that save under UNICODE to UTF-8?
I try to do that with ASP, something like that:
HTML Code:
Sub CreateFileUTF(pstrFile)
Dim objStream
'Create the stream
Set objStream = CreateObject("ADODB.Stream")
'Initialize the stream
objStream.LoadFromFile pstrFile
'Reset the position and indicate the charactor encoding
objStream.Position = 0
objStream.Charset = "UTF-8"
'Write to the steam
'objStream.WriteText pstrData
'Save the stream to a file
objStream.SaveToFile pstrFile,2
End Sub
But it's destroy the text in the file, any idea?