[o2on-svn] [84] エンコーディング判定の精度を向上

Back to archive index

o2on svn commit o2on-****@lists*****
2008年 5月 12日 (月) 12:24:18 JST


Revision: 84
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=o2on&view=rev&rev=84
Author:   electrolysis
Date:     2008-05-12 12:24:18 +0900 (Mon, 12 May 2008)

Log Message:
-----------
エンコーディング判定の精度を向上

Modified Paths:
--------------
    branches/BRANCH_0043/o2on/src.o2on/O2DatIO.cpp

Modified: branches/BRANCH_0043/o2on/src.o2on/O2DatIO.cpp
===================================================================
--- branches/BRANCH_0043/o2on/src.o2on/O2DatIO.cpp	2008-05-12 03:02:07 UTC (rev 83)
+++ branches/BRANCH_0043/o2on/src.o2on/O2DatIO.cpp	2008-05-12 03:24:18 UTC (rev 84)
@@ -303,7 +303,7 @@
 	
 	wstring encoding;
 	if (datpath.is_be())
-		sjis_or_euc(tmp, encoding);
+		sjis_or_euc(string(p, end), encoding);
 	if (encoding.empty())
 		encoding = L"shift_jis";
 




o2on-svn メーリングリストの案内
Back to archive index