Posted By:
Susan_Henshaw
Posted On:
Friday, March 12, 2004 12:20 PM
I have the following HTML code (in the end it gets generated by a servlet, but I have taken all servlet code out to illustrate the core of the problem) <%@ page pageEncoding="UTF-8" %> <%@ page language="java" contentType="text/html;charset=UTF-8" %> THIS IS A TEST HERE When I click the mailto tag on a japanese machine, the mail body has garbage in it. If, however, I take the above source, save it as Unicode in some editor, and re-open the file, presto, the right contents are in the mail body. How can I get this to work without saving as the interrum step?
More>>
I have the following HTML code (in the end it gets generated by a servlet, but I have taken all servlet code out to illustrate the core of the problem)
<%@ page pageEncoding="UTF-8" %>
<%@ page language="java" contentType="text/html;charset=UTF-8" %>
THIS IS A TEST
HERE
When I click the mailto tag on a japanese machine, the mail body has garbage in it. If, however, I take the above source, save it as Unicode in some editor, and re-open the file, presto, the right contents are in the mail body.
How can I get this to work without saving as the interrum step?
<<Less