fixed encoding for CT when running with UTF-8 encoding for JP characters
fixed initialized console message encoding for CT