chiark / gitweb /
Explicitly specify output encoding in marketcheck.
authorHenrik Tunedal <tunedal@gmail.com>
Sun, 6 Feb 2011 04:13:44 +0000 (05:13 +0100)
committerHenrik Tunedal <tunedal@gmail.com>
Sun, 6 Feb 2011 04:13:44 +0000 (05:13 +0100)
commit1ba9f79888e06457f97867499c8d1f5279de8f9e
treefe6a3094ca036f6a0ad242099374d206a99c2b89
parent762d58f353ced9f00d5172b6afe0fca780683581
Explicitly specify output encoding in marketcheck.

FileWriter uses "the default character encoding", which seems like
asking to live in interesting times. The program assumes UTF-8 when
it reads the file, so it should obviously do the same when it writes
it back.
marketcheck/test.java