java - Character set on Solaris -
i have simple java program prints out special characters
system.out.println("á"); system.out.println("é"); system.out.println("í"); system.out.println("ó"); system.out.println("ú");
when run code on windows 7 machine, prints console correct characters. deploy soloris machine , run code.it looks á ú à ó é
i have tried running jar commands java -dfile.encoding=utf-8 -dsun.jnu.encoding=utf-8
how can special characters print out in solaris?
you need utf-8 locale installed , configured terminal. i'm not familiar setting on solaris, these links might started:
Comments
Post a Comment