what is the encoding you use in your (final) html page?

i guess that the content is coming to you in UTF and you try to display it 
using a different encoding

i use to have similar problem when post data from an xsp-->html

first of all try to set everything in UTF

-- stavros



On Wed, 8 Oct 2003, Yves Vindevogel wrote:

> Hi
> 
> I have this piece of code in XSP
> 
>                       <xsp:logic>
>                               String sWelcome = "";
>                               String sAbout = "" ;
> 
>                               if (<xsp-session:get-attribute 
> name="lang"/>.equals("Nl"))
>                               {
>                                       sWelcome = "Welkom" ;
>                                       sAbout = "Privι" ;
>                               } ;
> 
>                               if (<xsp-session:get-attribute 
> name="lang"/>.equals("Fr"))
>                               {
>                                       sWelcome = "Bienvenue" ;
>                                       sAbout = "Privι" ;
>                               } ;
> 
>                               if (<xsp-session:get-attribute 
> name="lang"/>.equals("En"))
>                               {
>                                       sWelcome = "Welcome" ;
>                                       sAbout = "Private" ;
>                               } ;
> 
>                               <div id="dTop">
>                                       <span><xsp:expr>sWelcome</xsp:expr></span>
> 
>                                       --- more here --
> 
>                                       <span><xsp:expr>sAbout</xsp:expr></span>
>                               </div>
>                       </xsp:logic>
> 
> 
> This works fine for me, except, when showing the characters in my output, I
> get funny chars (looks like eastern European things)
> 
> When I add this like <p>Privι</p> , I have no problems, but within the
> xsp:logic, I get the strang behaviour.
> 
> Anyone know a solution ??
> 
> 
> 
> Yves Vindevogel
> Implements
> 
> Kempische Steenweg 206 - 3500 Hasselt - Belgium
> Tel+Fax: +32-11-43.55.76  Mobile: +32-478-80.82.91
> [EMAIL PROTECTED] - www.implements.be
> 
> 
> First they ignore you. Then they laugh at you. Then they fight you. Then you
> win.
> Mahatma Ghandi.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to