Specify encoding to javac.

Apparently TIGRIS is running under the C locale, which makes javac
default to ASCII.