i need to save some text in a file in utf-8 format but have no clue how to do it...
any help appreciated...
Did you try System.IO.File.WriteAllText(path, data, encoding)
?? what about the third parameter?
thank you for your reply...
can u explain a little more how this statement is used and that third parameter u mentioned...
also it is a database software that i am writing so i need to append and not replace a file...
thank you
Friend, see the documentation and play with this method as you need don't expect someone writing code for you. I guided you :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.