add: result = String.fromCharCode.apply(this, result); 
context:       onStreamComplete: function(loader, ctxt, status, resultLength, result)      {         window.setCursor( "default" );         var retval = false;         //check to make sure its actually a calendar file, if not return.         if( result.indexOf( "BEGIN:VCALENDAR" ) == -1 )         {            alert( "This doesn't appear to be a valid file. Here's what I got back from\n"+Channel.URI.spec+":\nResult:"+result );         } else {             //if we have only one event, open the event dialog.             var firstMatchLocation = result.indexOf( "BEGIN:VEVENT" );             if( firstMatchLocation == -1 )             {                alert( "There are no events in this file. Here's what I got from\n"+Channel.URI.spec+"\nResult: "+result );             }             else             {                onResponse( result );                retval = true;             }         }         if( gNextSubNodeToRefresh )            gCalendarWindow.calendarManager.refreshAllRemoteCalendars();         return retval;      }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4a8cca396e8d5635d0043d76ff8ef85a81323ae2/calendarManager.js/buggy/calendar/resources/content/calendarManager.js