mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
several backported fixes (some are not supported and are not included in tests)
This commit is contained in:
@@ -106,9 +106,7 @@ impl ECIStringBuilder {
|
||||
pub fn appendECI(&mut self, value: u32) -> Result<(), Exceptions> {
|
||||
self.encodeCurrentBytesIfAny();
|
||||
let character_set_eci = CharacterSetECI::getCharacterSetECIByValue(value)?;
|
||||
// if (character_set_eci == null) {
|
||||
// throw FormatException.getFormatInstance();
|
||||
// }
|
||||
|
||||
self.current_charset = CharacterSetECI::getCharset(&character_set_eci);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user