I have a webpage with a form that accepts userinput that when submitted is used as content for a text file – the simplified application flow is:
1) User enters text and presses submit
2) Webpage gets template from filesystem and replaces some of the content of the file with the userinput
3) File is stored.
Now the problem is that the form can be used by people with different nationalities and written language, and if the user enters for example Chinese text, into the form, I want the Chinese characters to be written to the file. As I understand it I need to know the encoding for the content – is there any way to get this from the form, or do you have another idea to get around this?
Best regards (or as some users would input 最好的問候)
Michael
In ASP.Net This should already work pretty much exactly as you describe it:
Have you tried this yet? If so what goes wrong?