liebus

java.sql.SQLException: "Unknown character set: 'euc_kr'" 본문

예전꺼(2014년이전꺼)/Java Story

java.sql.SQLException: "Unknown character set: 'euc_kr'"

리베스 2010. 8. 2. 11:28


1. 원인 한글 인코딩 문제

2. 해결 방법

jdbc url을    

jdbc:mysql://localhost:3306/databaseName   에서

jdbc:mysql://localhost:3306/databaseName?useUnicode=true&characterEncoding=euckr  로 변경


'예전꺼(2014년이전꺼) > Java Story' 카테고리의 다른 글

올챙이 배타 버전  (0) 2012.04.19
java process 명 변경  (0) 2010.09.16
Java Decompiler  (0) 2010.07.20
transient, volatile  (0) 2010.03.24
System.getProperty()  (0) 2009.07.31
Comments