From 30bb519fb00ccbbbdbfd4c5034b4e270aa24e7db Mon Sep 17 00:00:00 2001 From: Satoshi Watanabe Date: Mon, 19 Jul 2021 09:11:13 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=82=B3=E3=83=BC=E3=83=89=E7=B5=90?= =?UTF-8?q?=E6=9E=9C=E3=82=92Shift=5FJIS=E3=81=AB=E5=80=92=E3=81=99?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/qrcode/QRDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/qrcode/QRDecoder.cpp b/core/src/qrcode/QRDecoder.cpp index 5b5b993481..a264a717d4 100644 --- a/core/src/qrcode/QRDecoder.cpp +++ b/core/src/qrcode/QRDecoder.cpp @@ -161,7 +161,7 @@ DecodeByteSegment(BitSource& bits, int count, CharacterSet currentCharset, const } if (currentCharset == CharacterSet::Unknown) { - currentCharset = TextDecoder::GuessEncoding(readBytes.data(), Size(readBytes)); + currentCharset = CharacterSet::Shift_JIS; } } TextDecoder::Append(result, readBytes.data(), Size(readBytes), currentCharset);