Correction... it's because Foreign characters makes the error. My question would be: How to write Chinese characters into a text file?
Thanks
User Profile
Collapse
-
ASP writeline command Parameter
I can get the username from user's input and I need to write it to a text file. Anyone knows the
Code:<% xName = "My name is: " + username set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.CreateTextFile(NewFilePath,true) f.writeline(xName) ??? what's the correct parameter? f.Close set f=nothing set fs=nothing %>Last edited by Rabbit; Nov 12 '15, 05:11 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Leave a comment: