Question : Sending a Mail With JPN characters using Java mail in Websphere 6.0 Server

Hi ,
We have an Existing Appllcation which has a mailing Utility. The users key in the data in the form and when they submit , the data is emailed to the mail Id s configured. This Mailing Utiliy is mainly for Japan users. So obviously they will enter the values in Japan and the jpan values needs to be mailed to the Users  This application was running in Weblogic Server 5.1 without any issues. . We migrated ths app to WebSphere Server. But ever since we moved this app to Websphere the JPN characters are not getting rendered in the Mail.. We are currenly using the encoding as UTF-8  I also tried with SHIFT_JIS as well. Nothing seem to render the JPN values in the mail properly. Please let me know if you ve any solution. Not sure if this is a bug in Application ( beacuse in Weblogic it was working Fine )

Answer : Sending a Mail With JPN characters using Java mail in Websphere 6.0 Server

It could be that the default encoding before was UTF-8 but thats no longer the case. Default encoding would be shown by

System.out.println(System.getProperty("file.encoding"));
Random Solutions  
 
programming4us programming4us