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

Matthias Bauer ml-greasemonkey-42imk83y at moeffju.net
Sat Aug 20 04:27:46 EDT 2005


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


More information about the Greasemonkey mailing list