mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
fix for all optional features
This commit is contained in:
@@ -268,11 +268,7 @@ fn decodeKanjiSegment(
|
||||
let encoder = if let Some(DecodeHintValue::QrAssumeSpecConformInput(true)) =
|
||||
hints.get(&DecodeHintType::QR_ASSUME_SPEC_CONFORM_INPUT)
|
||||
{
|
||||
if let Some(ccse) = ¤tCharacterSetECI {
|
||||
CharacterSet::getCharacterSetECIByName(ccse)
|
||||
} else {
|
||||
CharacterSet::ISO8859_1
|
||||
}
|
||||
currentCharacterSetECI.unwrap_or(CharacterSet::ISO8859_1)
|
||||
} else {
|
||||
CharacterSet::Shift_JIS
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user