aspose file tools*
The moose likes JSP and the fly likes JSP getting distored when changing charset to UTF-8 from SHIFT_JIS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP getting distored when changing charset to UTF-8 from SHIFT_JIS" Watch "JSP getting distored when changing charset to UTF-8 from SHIFT_JIS" New topic
Author

JSP getting distored when changing charset to UTF-8 from SHIFT_JIS

echarish Kumar
Ranch Hand

Joined: Feb 02, 2010
Posts: 42
hi i have a JSP which is displaying Japaneese characters it was previously having the charset set to SHIFT_JIS but now my client wants to convert it into UTF-8 when i change the charset the appearance of the JSP changes. i am using four external css file on this jsp and i have also added the @charset "UTF-8" on all the css file but still the problem is existing. i am facing this problem on IE on Firefox everything looks fine.

here is a sample code from my CSS file and the text which is changing

<td width="24%" class="blackBoldText">Eメールアドレス <span class="asterisk">*</span></td>

@charset "UTF-8";
.blackBoldText
{
color:#333333;
font-family:"‚l‚r ‚oƒSƒVƒbƒN", Osaka, sans-serif;
font-size:12px;
font-weight:bold;
text-decoration:none;
text-align:left;
}

any help with this i will really appreciate
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP getting distored when changing charset to UTF-8 from SHIFT_JIS