I'm trying to get some japanese text to display in a
jsp page. I have a japanese UTF font on my computer and can correctly display japanese web sites.
Here is what I am trying:
When i post to a
servlet, i create a new Locale
Locale myLocale = new Locale("ja", "JP");
then in my servlet, i use the servlet response to set the Locale
response.setLocale(myLocale);
my jsp has this header line:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
The jsp page uses a resource bundle with th following key/vlaue:
name=\u3088\u3046\u3053\u305d
When i try to get the value for name key out of this resource, i just get ???. I know i am getting the right resource bundle becuase I can change it to something in english and it works.
What am I missing to get this to work?
Tbanks
Brian