Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/lexerTests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9637/tests/lexerTests
Modified Files:
TagTests.java
Log Message:
Fix bug #973137 Double-bytes characters are messed after parsing.
Add an encoding parameter to the static createParser() method.
Index: TagTests.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/lexerTests/TagTests.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** TagTests.java 2 Jan 2004 16:24:56 -0000 1.9
--- TagTests.java 16 Jun 2004 02:17:26 -0000 1.10
***************
*** 359,363 ****
this.id = id;
this.max = max;
! this.parser = Parser.createParser(testHtml);
}
--- 359,363 ----
this.id = id;
this.max = max;
! this.parser = Parser.createParser(testHtml, null);
}
|