using Euro symbol in Textarea

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 : ¤ 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

[847 byte] By [dulpa] at [2007-10-3 1:19:10]
# 1
1. Try&euro;2. Do<h:outputText escape="false" />
BalusCa at 2007-7-14 18:16:21 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...