set LC_CTYPE to en_US.UTF-8 to make output to UTF-8 work