Android
한글 <-> 유니코드 변환
zerolism
2012. 11. 13. 11:07
SMALL
유니코드를 한글로 변환
protected String uniToKsc(String uni) throws UnsupportedEncodingException{
return new String (uni.getBytes("8859_1"),"KSC5601");
}
한글을 유니코드로 변환
protected String kscToUni(String uni) throws UnsupportedEncodingException{
return new String (uni.getBytes("KSC5601"),"8859_1");
}
LIST