matarrese/juniversalchardet

Can't copy+paste and compile the example TestDetector

Closed this issue · 1 comments

Can't copy+paste and compile the example TestDetector class on the project
home page because:
1. uses single quotes instead of double quotes in Strings
2. main() not declared to throw java.io.IOException (or other apropos
try/catches)
Might also be nice if it took the file to test with as a command line arg.
Also would be nice to have a link to download the source file, all just for
convenience.
Modified source attached.

Original issue reported on code.google.com by lne...@gmail.com on 5 Feb 2008 at 12:02

Attachments:

Thank you for your report!
I've updated the project page and put the attached file
to the repository (/trunk/example/TestDetector.java).

Original comment by taksc...@gmail.com on 23 Jul 2008 at 12:35

  • Changed state: Fixed