在运行程序时出错:
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
解决方法
export LC_ALL="C"
export LC_ALL=C
这一句的做用是为了去除全部本地化的设置,让命令能正确执行
在运行程序时出错:
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
解决方法
export LC_ALL="C"
export LC_ALL=C
这一句的做用是为了去除全部本地化的设置,让命令能正确执行