[Greasemonkey] Javascript character encoding problem

Jonas Lundberg my.name.is.hans at gmail.com
Wed Apr 5 17:39:19 EDT 2006


> But you are getting correct UTF-8 characters:
>
> tobez at am2 ~> echo "철철"|iconv -f UTF-8 -t latin1
>> tobez at am2 ~> echo "拓"|iconv -t UTF-8 -f latin1
> 철철
>
> (assuming this mail arrives to you in 8859-1, you should see what I
> see).  :-)

That's possible, but I am trying to send some Swedish characters, the
A and o with a ring and dots( å and ä and ö, also Å Ä Ö). If I submit
these using a traditional submit button, then they are send as they
are. If I use GM_xmlhttpreques, then OTHER characters are sent. These
other characters might be UTF-8, but my problem is that they are
DIFFERENT from the ones that were in my form.
Maybe, I am doing something wrong here?

Regards
Hans


More information about the Greasemonkey mailing list