encoder test pass

This commit is contained in:
Henry
2022-09-26 20:49:25 -05:00
parent f203325b6d
commit a228f6300a
4 changed files with 26 additions and 79 deletions

View File

@@ -87,7 +87,6 @@ impl State {
let eci_digits = encoding::all::ISO_8859_1
.encode(&format!("{}", eci), encoding::EncoderTrap::Strict)
.unwrap();
dbg!(format!("{}", eci));
// let eciDigits = Integer.toString(eci).getBytes(StandardCharsets.ISO_8859_1);
token.add(eci_digits.len() as i32, 3); // 1-6: number of ECI digits
for eci_digit in &eci_digits {