using Euro symbol in Textarea
843842Jul 25 2006 — edited Jul 25 2006Hello,
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:
¤
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