On 10/11/06, gm-ml <gm-ml sunny-net.ne.jp> wrote:
> Hi,
>
> I'm new to greasemonkey, but I have something important
that I'm trying
> to accomplish with it.
>
<snip>
> This seems to be directly due to saving unicode text
cut and pasted into
> the associative array from the web site in question.
>
> As soon as I save the file using ansi text, this error
goes away, but
> the characters in the associative array do not render
correctly.
>
> I have also tried saving the chracters/phrase to a
unicode text file
> while attempting to use a hex editor to determine the
hex values of the
> two byte character encodings, which I then plug into
the ansi
> greasemonkey script ("x<hex codes for
chracters/phrase>" : "translation
> of chracters/phrase", ). The result is that the
chracters/phrase is not
> translated.
>
<snip>
With a quick test, it looks like you can just use UTF8...
At least,
Firefox trunk, GM 0.6.4
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1)
Gecko/20061009 Minefield/3.0a1
--
Mook
mook dot moz plus stuff at gmail
_______________________________________________
Greasemonkey mailing list
Greasemonkey mozdev.org
http:
//mozdev.org/mailman/listinfo/greasemonkey
|