BLOG NOTICE TAG CLOUD GUESTBOOK
RSS
CATEGORY

'native2ascii'에 해당되는 글 1건

  1. 2008/04/04 ant 이용해서 properties 파일 변환
0
Comments

1
Trackbacks

properties 파일 사용할때 한글이 깨진다.

JAVA_HOME\bin\native2ascii nv_ko.properties nv_uni.properties
: 위와 같은 방법으로 처리도 가능하지만 왠지 구찮다. ㅎ

Ant에서 <native2ascii> 태스트가 존재한다는 것을 늦게나마 알게 됐다~ ^^;

<target name="conf">
    <native2ascii
        src="${conf.dir}"
        dest="${classes.dir}"
        includes="**/*.properties">
    </native2ascii>
</target>

: encoding 옵션을 적절히 활용해야 할듯 합니다.
2008/04/04 11:31 2008/04/04 11:31