]> git.tdb.fi Git - libs/core.git/blobdiff - source/jisx0208.cpp
Added reset function for StringCodec::Decoder
[libs/core.git] / source / jisx0208.cpp
index 477ccd082c4d1516fa45dde8ccdbac6d474ab85e..4d46f709f89df5f739aa7c11a6a298505f41ed45 100644 (file)
@@ -42,6 +42,10 @@ void JisX0208::Decoder::sync()
                throw CodecError("Sync in middle of JIS X 0208 character");
 }
 
+void JisX0208::Decoder::reset()
+{
+       high=0;
+}
 
 wchar_t jisx0208_to_ucs(unsigned short jis)
 {