RE: Euro character in c:out

2002-10-09 Thread zze-JEANJEAN S ext FTRD/DMI/SOP

Hi all,

My problem seems to be a problem with my database. If I write directly in the JSP the 
euro symbol, there is no problem, but if I get it from the mysql database the ? 
appears :( So no problem with the tag lib !

Thanks

Stéphane



-Message d'origine-
De : Roberto Mannai [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 4 octobre 2002 10:27
À : Tag Libraries Users List
Objet : Re: Euro character in c:out


(Same message in unicode format; note the '€')


 It is not a problem of trasmission encoding (contentType=text/html;
 charset=ISO-8859-1 ), but _source file_ encoding, in your IDE. If you
 generate a html page, you can use entity euro; , but in general, you
should
 write 'u\20AC', euro's unicode encoding.
 (see http://www.unicode.org/Public/UNIDATA/DerivedAge.txt)

 Finally, this works:

 %@ page contentType=text/html; charset=ISO-8859-15 %
 html
 headtitleEuro Symbol/title/head
 body
 %=This works: \u20AC+ br  This do not: €%
 /body
 /html

 ciao

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Euro character in c:out

2002-10-03 Thread zze-JEANJEAN S ext FTRD/DMI/SOP

Hello everybody !

I use the c:out jstl tag in a jsp page, when I put a Euro character (EUR), the result 
is '?'
Somebody can help me ?!!
Thanks !!
Stéphane



RE: Euro character in c:out

2002-10-03 Thread zze-JEANJEAN S ext FTRD/DMI/SOP

I try to put :
%@ page contentType=text/html; charset=ISO-8859-1 %

But nothing changes. There is a ? in place of euro character :((

Stéphane

-Message d'origine-
De : Roberto Mannai [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 3 octobre 2002 15:11
À : Tag Libraries Users List
Objet : Re: Euro character in c:out


Perhaps, anyway, could be jsp file's enconding charset. Choose unicode,
and try again...
bye


- Original Message -
From: zze-JEANJEAN S ext FTRD/DMI/SOP [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 2:50 PM
Subject: RE: Euro character in c:out


Hi,

How the encoding method is choosen ?! Can we set this method to encode the
euro character ?
My platform is W2K.

Thanks,

Stéphane

-Message d'origine-
De : sadik [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 3 octobre 2002 13:19
À : 'Tag Libraries Users List'
Objet : RE: Euro character in c:out


I think, the encoding in your OS does not support Euro.

Regards,

Wahid Sadik


-Original Message-
From: zze-JEANJEAN S ext FTRD/DMI/SOP
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 3:56 PM
To: [EMAIL PROTECTED]
Subject: Euro character in c:out

Hello everybody !

I use the c:out jstl tag in a jsp page, when I put a Euro character
(EUR), the result is '?'
Somebody can help me ?!!
Thanks !!
Stéphane






--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Euro character in c:out

2002-10-03 Thread zze-JEANJEAN S ext FTRD/DMI/SOP

Hi Thomas,

There is no problem with fonts, when I read the source of the generated html page, I 
can see the ? character in place of euro symbol. When I put directly the euro symbol 
in the HTML, the output is correct.

Thanks,

Stéphane

-Message d'origine-
De : Gideon, Thomas [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 3 octobre 2002 17:04
À : 'Tag Libraries Users List'
Objet : RE: Euro character in c:out


Does the font specified include the Euro sumbol?  Check any fonts set in the
actual HTML through style attributes, style classes or font tags.  Also set
the browsers's default font settings.  If you can determine the applicable
font, you can use a font viewer to determine if that font includes the
symbol or not.  If you are using CSS, you can use the font-family property
to specify multiple fonts; if the required symbol isn't in the first one
listed, the browser should look for it in the next, and the next, until it
either finds a non-empty symbol in the font or it exhausts the list.

Thomas Gideon
Sr. Software Developer
B2eMarkets

301.230.2236  Tel.
301.230.2248  Fax.
[EMAIL PROTECTED]
www.B2eMarkets.com



 -Original Message-
 From: zze-JEANJEAN S ext FTRD/DMI/SOP
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 03, 2002 10:46 AM
 To: Tag Libraries Users List
 Subject: RE: Euro character in c:out
 
 
 I try to put :
 %@ page contentType=text/html; charset=ISO-8859-1 %
 
 But nothing changes. There is a ? in place of euro character :((
 
 Stéphane
 
 -Message d'origine-
 De : Roberto Mannai [mailto:[EMAIL PROTECTED]]
 Envoyé : jeudi 3 octobre 2002 15:11
 À : Tag Libraries Users List
 Objet : Re: Euro character in c:out
 
 
 Perhaps, anyway, could be jsp file's enconding charset. 
 Choose unicode,
 and try again...
 bye
 
 
 - Original Message -
 From: zze-JEANJEAN S ext FTRD/DMI/SOP 
 [EMAIL PROTECTED]
 To: Tag Libraries Users List [EMAIL PROTECTED]
 Sent: Thursday, October 03, 2002 2:50 PM
 Subject: RE: Euro character in c:out
 
 
 Hi,
 
 How the encoding method is choosen ?! Can we set this method 
 to encode the
 euro character ?
 My platform is W2K.
 
 Thanks,
 
 Stéphane
 
 -Message d'origine-
 De : sadik [mailto:[EMAIL PROTECTED]]
 Envoyé : jeudi 3 octobre 2002 13:19
 À : 'Tag Libraries Users List'
 Objet : RE: Euro character in c:out
 
 
 I think, the encoding in your OS does not support Euro.
 
 Regards,
 
 Wahid Sadik
 
 
 -Original Message-
 From: zze-JEANJEAN S ext FTRD/DMI/SOP
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 03, 2002 3:56 PM
 To: [EMAIL PROTECTED]
 Subject: Euro character in c:out
 
 Hello everybody !
 
 I use the c:out jstl tag in a jsp page, when I put a Euro character
 (EUR), the result is '?'
 Somebody can help me ?!!
 Thanks !!
 Stéphane
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: c:out and \n

2002-09-17 Thread zze-JEANJEAN S ext FTRD/DMI/SOP


 On Mon, 16 Sep 2002, zze-JEANJEAN S ext FTRD/DMI/SOP wrote:
 
  The c:out tag convert special characters to character entities, why
  not do the same thing with \n (to br/) ? 
 
 Because such a translation isn't general-purpose or based on the rules
of
 XML; JSTL isn't tied to HTML specifically.
 
Off course, but in fact, it's usually used with HTML, so it's could be
an option...

 
  Is there a tag to convert \n to br/ ??
 
 You should be able to use the String Taglib or the Regexp Taglib.
 
The str:replace tag is not easy to use : in the replace propertie the \n
is not understood :(( You have to put in this propetie a real new line,
so the code is not really readable :(
For instance :
...
str:replace replace=
 with=BR/c:out
value=${requestScope[theKey].address1}//str:replace
...

bye,

Stephane

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]