use Encode::Locale to encode parameters read from console(getopt)