Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Charset (iso-8859-1) problem
April 24, 2005, 2:18 pm
rate this thread
the forms textfields are set with values like this:
Now, when the new page loads with its form values set, I have problems
with the unicode characters (the iso-8859-1 charset family); they show
up with weird substitution character instead of the correct character.
For example, the type parameter (=kjøl) in the example above shows up as
kjÃ¸l , where Ã¸ is substituted for ø.
What to do?
Any help greatly appreciated!
Re: Charset (iso-8859-1) problem
First, you multiposted your question. That's very unproductive.
Second, for a form with method="get", things are undefined for any non-
ASCII characters in the data. Check HTML specs on this.
You seem to confuse Unicode with ISO 8859-1.
Maybe. It's undefined, so browsers might, for example, do that.
Use method="post" and check
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html