I am trying to save user input to a text file. html or htm ether one would work just as well for me.
I am running into a problem though with foreign languages being submitted. The page is meant for people to post their ethnic recipes in their language. I can make it work with English and a few other languages but languages that use different characters are not working. I have went back to the basics on this one and still dont know whats going on.
The man user of the site is a lady who speaks Croatian. When she puts in her recipes in English and follows them with Croatian it will save but loose all of the accent marks from the Croatian text. If she submits just Croatian it still looses the accents.
I have manually went into the file that it creates and added the text and it shows on the website just fine so I think there must be a problem with how I am saving the information but for the life of me I dont know what else I can use.
This is the code I am using at this point. I striped to back to a basic setup to get the users information and create a file. The recipe variable has the data. I did a response.write before the f.write to make sure and its showing the accents correctly.
<form action="demo_reqquery.asp" method="get">
Your name: <input type="text" name="recipe" size="20" />
<input type="submit" value="Submit" />
If recipe<>"" Then
I thought about trying to just store the data in a database but because its a recipe there would have to be formatting as well and that's throwing me off on that approach.
Any Help would be great.
When I open the file though the accents are gone.