Saturday, July 18, 2009

Simple 2.1

Just found out http://simple.sourceforge.net/ as a XML/Object framework, it is quite similar to the inhouse custom library built by my CTO. Writing this as a reference to me just in case I need it in the future.

Wednesday, July 08, 2009

Unicode in Java

Today I found out the jvm system properties file.encoding needs to be set as UTF-8 in non-English windows to work properly with an utf-8 configured MySQL (that's with DEFAULT CHARSET=utf8 in CREATE TABLE).

-Dfile.encoding=UTF-8


In traditional chinese windows, the default code page is ms950, while it is windows-1252 for my local English windows setup.