binmode ARGV, ':utf8'; # if your input is encoded as UTF-8