mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 19:57:27 -08:00
Use \u escape syntax for Latin-1 chars to avoid weird encoding issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1825 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
dadbc49cc0
commit
1d80e8abf5
|
@ -38,10 +38,10 @@ public final class Code128Writer extends UPCEANWriter {
|
|||
private static final int CODE_STOP = 106;
|
||||
|
||||
// Dummy characters used to specify control characters in input
|
||||
private static final char ESCAPE_FNC_1 = 'ñ'; // 0xF1
|
||||
private static final char ESCAPE_FNC_2 = 'ò'; // 0xF2
|
||||
private static final char ESCAPE_FNC_3 = 'ó'; // 0xF3
|
||||
private static final char ESCAPE_FNC_4 = 'ô'; // 0xF4
|
||||
private static final char ESCAPE_FNC_1 = '\u00f1';
|
||||
private static final char ESCAPE_FNC_2 = '\u00f2';
|
||||
private static final char ESCAPE_FNC_3 = '\u00f3';
|
||||
private static final char ESCAPE_FNC_4 = '\u00f4';
|
||||
|
||||
private static final int CODE_FNC_1 = 102; // Code A, Code B, Code C
|
||||
private static final int CODE_FNC_2 = 97; // Code A, Code B
|
||||
|
|
Loading…
Reference in a new issue