通过apt-get安装rar后,执行rar命令会有如下坑:
rar: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
解决办法:export LC_ALL=C
export LC_ALL=C的坑会导致我的java程序乱码
还好我只要用unrar命令
有追求,才有动力!
向每一个软件工程师致敬!
by wujf
mail:921252375@qq.com