centos6.3 tomcat上传文件名乱码

  1. 问题bash

如题,上传文件名问号ide


2. 定位ci

$locale
it

LANG=en_USclass

LC_CTYPE=zh_CN.UTF-8file


3. 修复im

全部用户生效,/etc/profile.d中加入setlang.sh:di

export LC_CTYPE=zh_CN.UTF-8文件

特定用户生效,~/.bash_profile中加入view

export LC_CTYPE=zh_CN.UTF-8