ASH84

Software Engineer/Developer, co-founder of Payhere. Ex-Banksalad. Intereseted in iteroperability, bootstrap company, writting.

[JAVA]현재 인코딩 출력하기

created:2012-08-16
updated:2016-06-22
edit

자바는 JVM 세팅을 통해서(이클립스를 통해서도 가능) 인코딩을 변경할 수 있는데, 사용자가 JAR를 실행시킬때, JVM 세팅에 따라서 인코딩을 다르게 줄 경우가 있다. 그럴때, 프로그램 내에서 현재 인코딩을 가져와서 사용해야 할 경우가 있다면 다음과 같이 인코딩을 가져오면 된다. 



#CharSet  #dev  #encoding  #euckr  #Java  #자바