svnno****@sourc*****
svnno****@sourc*****
2009年 10月 15日 (木) 23:47:50 JST
Revision: 1345
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1345
Author: dhrname
Date: 2009-10-15 23:47:50 +0900 (Thu, 15 Oct 2009)
Log Message:
-----------
インラインSVGにおけるWebkitの文字化けを修正
Modified Paths:
--------------
branches/05x/052/sie.js
Modified: branches/05x/052/sie.js
===================================================================
--- branches/05x/052/sie.js 2009-10-15 11:58:32 UTC (rev 1344)
+++ branches/05x/052/sie.js 2009-10-15 14:47:50 UTC (rev 1345)
@@ -1836,7 +1836,7 @@
//Text2SVG機能。SVGのソース(文章)をSVG画像に変換できる。(必須ではない)
function textToSVG( /*string*/ source, /*float*/ w, /*float*/ h) {
- var data = 'data:image/svg+xml,' + unescapeUTF16(escape(source));
+ var data = 'data:image/svg+xml;charset=utf-8,' + unescapeUTF16(escape(source));
var ob = document.createElement("object");
ob.setAttribute("data",data);
ob.setAttribute("width",w);