[Greasemonkey] Gm 0.5 and UTF-8(?) issues

Arvid Jakobsson arvid.jakobsson at gmail.com
Sat Aug 20 14:16:43 EDT 2005


Your're right, now I can start using åä and ö in my scripts again :) Stupid me!

On 20/08/05, Matthias Bauer <ml-greasemonkey-42imk83y at moeffju.net> wrote:
> On 20.08.2005 00:32 Arvid Jakobsson wrote:
> 
> > You've got to remove non-ascii chars from the script. Judging from
> > your last name, you're german so that means you'll have to remove
> > omlauts and stuff like that. Hope that helps.
> 
> Actually, that would defeat the whole purpose of Unicode/UTF-8.
> The problem was simply that I had not properly converted two files.
> Writing proper UTF-8 solved things.
> 
> >>>Error: uncaught exception: [Exception... "Component returned failure
> >>>code: 0x80004005 (NS_ERROR_FAILURE)
> >>>[nsIScriptableUnicodeConverter.ConvertToUnicode]"  nsresult: "0x80004005
> >>>(NS_ERROR_FAILURE)"  location: "JS frame ::
> >>>chrome://greasemonkey/content/utils.js :: getContents :: line 160"
> >>>data: no]
> 
> -Matt
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list