Using Windows?  Try opening in Notepad and go Save As and change
Encoding to ANSI.

Cheers

Chris

On Nov 20, 10:38 am, "Michel Bechelani" <[EMAIL PROTECTED]>
wrote:
> Hi Michael
>
> Sorry, but what is an byte-order-mark?  And how do I take it away from the
> file? I'm using Notepad or Visual Studio in a Windows XP System to create
> the manifest.
>
> Thank you.
>
> On Thu, Nov 13, 2008 at 2:18 PM, Michael Nordman <[EMAIL PROTECTED]>wrote:
>
> > I've opened an issue to track this...
> >http://code.google.com/p/gears/issues/detail?id=765
>
> > On Thu, Nov 13, 2008 at 1:42 PM, Michael Nordman <[EMAIL PROTECTED]>wrote:
>
> >> Just a guess, does the file contain unicode byte-order-marks? The JSON
> >> parser we're using fails if the byte stream contains BOM characters, and 
> >> our
> >> code does not advance past any BOM prior to handing off to the parser.
>
> >> On Thu, Nov 13, 2008 at 1:12 PM, Bechelani <[EMAIL PROTECTED]>wrote:
>
> >>> Hello,
>
> >>> I'm new to Gears.  I'm trying to create a managed store.  However I'm
> >>> getting the following error:
>
> >>> Invalid manifest - * Line 1, Column 1
> >>>  Syntax error: value, object or array expected.
>
> >>> The manifest file I'm using is a .txt file saved with UTF-8 encoding
> >>> and the contents is:
> >>> {
> >>>  // version of the manifest file format
> >>>  "betaManifestVersion": 1,
>
> >>>  // version of the set of resources described in this manifest file
> >>>  "version": "v0.1",
>
> >>>  // optional
> >>>  // If the store specifies a requiredCookie, when a request would hit
> >>>  // an entry contained in the manifest except the requiredCookie is
> >>>  // not present, the local server responds with a redirect to this
> >>> URL.
> >>>  //"redirectUrl":  "login.html",
>
> >>>  // URLs to be cached (URLs are given relative to the manifest URL)
> >>>  "entries": [
> >>>    { "url": "/Scripts/firebug.js" },
> >>>    { "url": "/Scripts/jquery-1.2.6.js" },
> >>>    { "url": "/Scripts/jquery.simplemodal.js" },
> >>>    { "url": "/App_Themes/Main/site.css" },
> >>>    { "url": "/App_Themes/Main/home.css" },
> >>>    { "url": "/App_Themes/Main/gears.css" },
> >>>    { "url": "/App_Themes/Main/contact_ie.css" },
> >>>    { "url": "/App_Themes/Main/contact.css" },
> >>>    { "url": "/App_Themes/Images/green_up.gif" },
> >>>    { "url": "/App_Themes/Images/mainPanelLoading.gif" },
> >>>    { "url": "/App_Themes/Images/red_down.gif" },
> >>>    { "url": "/App_Themes/Images/sideBarLoading.gif" }
> >>>  ]
> >>> }
>
> >>> I'll appreciate any help on this.

Reply via email to