Hi, I use only Chinese words in "name", but no window is popped when I
call createShortcut(). After I replace Chinese with English, it's OK.

Try it yourself, like
createShortcut("谷歌",
"http://www.g.cn/";,
{"32x32":"/favicon.ico"}
);

On Nov 4, 3:06 am, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> Hi,
> According to the API docs for Desktop API -
>
> http://code.google.com/apis/gears/api_desktop.html
>
> The "name" argument to the createShortcut() method It cannot contain any of
> these characters: "\/:*?<>|
>
> Austin
>
> On Sat, Nov 1, 2008 at 11:45 AM, Cloudream <[EMAIL PROTECTED]> wrote:
>
> > var desktop = google.gears.factory.create("beta.desktop");
>
> > desktop.createShortcut(
> > "Falis here", //!!
> > "http://cg2.cc/tool/bp/";,
> > {"32x32":"/images/favicon.png"},
> > "Chinese in description is OK"
> > );
>
> > When I try to call createShortcut with Chinese in name, it fails.

Reply via email to