Solved

when ever i display a  ® symbol in my JSP or someother special chacters in my JSP i get a ?

Posted on 2004-08-26
10
165 Views
Last Modified: 2010-04-01
hello
when ever i display a  ® symbol in my JSP or someother special chacters in my JSP i get a ?

What is strange is on a different box it works fine.

Same version of tomcat and jdk

This one is driving me crazy.

please help, this is got to be a simple one.
0
Comment
Question by:paries
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 11

Expert Comment

by:sompol_kiatkamolchai
ID: 11905170
Try this

<html>
&#174;
</html>
0
 
LVL 11

Expert Comment

by:sompol_kiatkamolchai
ID: 11905198
You can represent ® with &#174; in html.

This is HTML Entity Element.

If you want another sign, please check it from this url

http://www.htmlcodetutorial.com/characterentities_famsupp_69.html
0
 
LVL 11

Expert Comment

by:sompol_kiatkamolchai
ID: 11905203
Hope that help.

SomPoL
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:paries
ID: 11905408
That does not really solve my problem

the jsp is reading a text file
on one machine all the special character display fine
on the other they are all question marks.

0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 11906538
The probelm is that on client PC character encoding which doesn't include  registered trademark can be enabled. Try to set encoding on clinet by using JSP directive at the beginning of your JS page:
<%@ page contentType="text/html; charset=iso-8859-1" %>
0
 

Author Comment

by:paries
ID: 11906571
the problem was in my /etc/sysconfig/i18n
0
 
LVL 3

Expert Comment

by:haobaba1
ID: 11916900
Hey Paries what was the problem?
0
 

Author Comment

by:paries
ID: 11917511
my site is a combo of perl and j2ee

When i upgraded to rh9 the perl got these wierd messages

so i changed the file /etc/sysconfig/i18n on one machine but not the other

i can not remember what it was originally but now the line in the file reads
LANG="en_US"

Hope that help
randy
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 11947437
Closed, 500 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
Popular third-party chat platforms like Slack, Discord, and Telegram are just a few of the many new productivity applications that are being hijacked by cybercriminals to create command-and-control (C&C) communications infrastructures for their malw…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question