ThirdParty/CharDet/chardet/sjisprober.py

changeset 5310
f2b774d78b4a
parent 3537
7662053c3906
child 5714
90c57b50600f
diff -r 79b6a38edfc7 -r f2b774d78b4a ThirdParty/CharDet/chardet/sjisprober.py
--- a/ThirdParty/CharDet/chardet/sjisprober.py	Thu Nov 10 18:54:02 2016 +0100
+++ b/ThirdParty/CharDet/chardet/sjisprober.py	Thu Nov 10 18:57:50 2016 +0100
@@ -47,7 +47,7 @@
         self._mContextAnalyzer.reset()
 
     def get_charset_name(self):
-        return "SHIFT_JIS"
+        return self._mContextAnalyzer.get_charset_name()
 
     def feed(self, aBuf):
         aLen = len(aBuf)

eric ide

mercurial