Friday, 9 August 2013

character Encoding in my html jsp page

character Encoding in my html jsp page

I have a jsp, I draw a set of charts in which it is collecting live data
from Twitter. Am displaying the usernames from Twitter. It has all
different languages from all over the world. The names even has many
different fonts. I need to display As it is. But my webpage Shows like its
not supported and it displayed as ????? or
����
I got some solutions like adding
<meta name="http-equiv" content="Content-type: text/html; charset=UTF-8"/>
<meta name="http-equiv" http-equiv="Content-type"
content="text/html;charset=ISO-8859-1">
<meta name="http-equiv" http-equiv="Content-type"
content="text/html;charset=BIG5 ">
But Still No improvement. I am using Spring MVC for my Web application
I have also added bean referring this link
<bean id="messageSource"
class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basename" value="classpath:messages"/> <property
name="defaultEncoding" value="UTF-8"/> </bean>
Still I have the same problem. Can anyone figure out any solution.. Thanks
In advance

No comments:

Post a Comment