#UDPATE: (1) Enable to specify the charset on reading files. (2) Some minor updates.
#UDPATE: Updates the test codes.