albfernandez / juniversalchardet

Originally exported from code.google.com/p/juniversalchardet
Other
339 stars 60 forks source link

Can't copy+paste and compile the example TestDetector #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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:

GoogleCodeExporter commented 8 years ago
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