개인적인 프로그램/JAVA/JSP

간단한 UTF-8 파일 생성

삽지리 2011. 10. 26. 14:05

http://monge.tistory.com/21

 

여길참조 했다.

 

 

File target = new File("경로");

 

String resource_content = "출판내용";

 

org.apache.commons.io.FileUtils.writeStringToFile(target, resource_content, "UTF-8");