Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Beware the other head of science - it bites! Nibble on this message:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic