From 3c6f79a8c1a2ebf74cb78a59f4845ae56be2c749 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Thu, 27 Aug 2009 13:53:12 +0000 Subject: [PATCH] Fixed Issue 99 file open bug on Opera widget git-svn-id: http://svg-edit.googlecode.com/svn/trunk@487 eee81c28-f429-11dd-99c0-75d572ba1ddd --- opera-widget/handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opera-widget/handlers.js b/opera-widget/handlers.js index b0e2ed1a..c493da25 100644 --- a/opera-widget/handlers.js +++ b/opera-widget/handlers.js @@ -13,7 +13,7 @@ $(function() { fstream = file.open(file, "r"); var output = ""; while (!fstream.eof) { - output += fstream.readLine("UTF-16"); + output += fstream.readLine(); } svgCanvas.setSvgString(output); /* 'this' is bound to the filestream object here */