WebSphere에서 한글이 깨질 경우 확인 사항

한글설정

WebSphere에서 한글 깨질때 확인 사항



  • Test OS : CentOS 7.2
  • Test Version : WebSphere v.8.5

한글 언어 설정

언어의 경우 우선적으로 소스에 인코딩되어 있는 설정을 인식

  • JSP 소스 첫줄
<%@page language="java" contentType="text/html;charset=euckr" %>  
<%@page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
  • HTML META
<META http-equiv="Content-Type" content="text/html;charset=euc-kr">
<META http-equiv="Content-Type" content="text/html;charset=UTF-8">
  • WebSphere JVM 옵션

    경로 : Application Server > {server name} > 서버인프라 >> 프로세스 정의 > 추가특성 >> JVM > 추가특성 >> 사용자 정의

    설정 : WebSphere Application Server의 JVM Custom property에 설정
client.encoding.override = EUC-KR
file.encoding = EUC-KR

client.encoding.override = UTF-8
file.encoding = UTF-8

Application Source에서 한글 처리가 가능 해야 함







0 Comments:

댓글 쓰기

이 블로그 검색

Popular Posts

WEB&&WAS

OS

Reviews