Gem update: unable to convert “\xE7” to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII

后端 未结 4 2015
醉梦人生
醉梦人生 2020-12-12 14:01

just ran gem update on a light use server machine that hadn\'t been updated in a while... and am getting loads of \'unable to convert \"\\x??\" to UTF-8 in conv

4条回答
  •  忘掉有多难
    2020-12-12 14:38

    The combination of Daniel and werm's answers worked for me, once I also unset LC_ALL. I ended up with this:

    export LC_CTYPE=en_US.UTF-8
    export LANG=en_US.UTF-8
    unset LC_ALL
    

提交回复
热议问题