Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using Euro symbol in Textarea

843842Jul 25 2006 — edited Jul 25 2006
Hello,


I use this character encoding :
<%@ page contentType="text/html;charset=iso8859-15"%>
I use firefox and also set locale in firefox to iso8859-15

When I enter a Euro symbol it is always stroed in the database as the universal currency symbol 164 in iso8859-1.
When I insert something directly into the database with euro it works fine.
I have a textarea and want to enter a euro symbol to store in the database.(MS SQL Server)
When I display the content with
<h:inputTextarea id="name" value="#{name.name}" />
the output is rendered like : &#164; and in the source I see:
&#164;
So here s my 2 question :
1. how do I get the euro sign into the database
2. how do I display it in a text area without being escaped

regards
M.M
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2006
Added on Jul 25 2006
1 comment
355 views