Skip to content

Commit

Permalink
zxing-js#607 Decode special characters as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderpopko committed Jun 27, 2024
1 parent 39b2a01 commit 0ef0709
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/aztec/decoder/Decoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ export default class Decoder {
private static MIXED_TABLE: string[] = [
// Module parse failed: Octal literal in strict mode (50:29)
// so number string were scaped
'CTRL_PS', ' ', '\\1', '\\2', '\\3', '\\4', '\\5', '\\6', '\\7', '\b', '\t', '\n',
'\\13', '\f', '\r', '\\33', '\\34', '\\35', '\\36', '\\37', '@', '\\', '^', '_',
'`', '|', '~', '\\177', 'CTRL_LL', 'CTRL_UL', 'CTRL_PL', 'CTRL_BS'
'CTRL_PS', ' ', '\x01', '\x02', '\x03', '\x04', '\x05', '\x06', '\x07', '\b', '\t', '\n',
'\x0b', '\f', '\r', '\x1b', '\x1c', '\x1d', '\x1e', '\x1f', '@', '\\', '^', '_',
'`', '|', '~', '\x7f', 'CTRL_LL', 'CTRL_UL', 'CTRL_PL', 'CTRL_BS'
];

private static PUNCT_TABLE: string[] = [
Expand Down

0 comments on commit 0ef0709

Please sign in to comment.