- 자바(Java)에서 OS 인코딩 확인하는 방법
//아래 구문을 출력하면 시스템의 인코딩을 확인할 수 있다.
System.getProperty("file.encoding")
- 참고자료
자바로 OS의 인코딩(Character Set) 확인 해 보기
아래와 같이 테스트 할 클래스를 하나 만들어줍니다. import java.io.*; public class EncodingTest { public static void main(String[] args) throws Exception { System.out.println("file.encoding="+System.getProperty("file.encoding")); System.
byeonely.tistory.com