linux에서 resin을 돌리고 있습니다.
근데 제가 오늘 rpm을 업데이트하다가 잘못되어서 rpm을 지우고 다시 설치하는등
많은 것들을 했는데 공교롭게 잘되던 resin이 mysql에서 가져오는 부분에서 한글
이 깨져 나오고 있습니다.
예전에 java에서 한글 처리를 하려면 어떤 파일의 language를 바꾸라고 해서 euc_kr
로 바꾸었는데 rpm을 바꾸고 resin을 다시 돌렸더니 jsp에서 한글이 깨져나오더라고요
그래서 보니까
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ko_KR.eucKR"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Stopping srun
/usr/local/httpd/bin/apachectl stop: httpd stopped
/usr/local/httpd/bin/apachectl start: httpd (pid 11960) already running
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ko_KR.eucKR"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
라고 경고문이 나오더라구요
그래서 /etc/profile에서
export PERL_BADLANG=0
를 추가했더니 경고문은 사라졌습니다.
그러나 여전히 한글이 깨져 나와요...
무슨 문제일까요?