xml 썸네일형 리스트형 XML에서 한글 읽어들이기. InputSource is = new InputSource(new InputStreamReader(new FileInputStream("test.xml"), "UTF-8")); 이렇게 하지 않으면 Element를 통해 읽어 들일때 end tag를 인식하지 못해 에러난다. 대략적 전체 코드. try { User user = null; InputSource is = new InputSource(new InputStreamReader(new FileInputStream(file), "UTF-8")); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); if(f.. 이전 1 다음