You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by es...@bnpparibas.com on 2002/01/22 13:11:53 UTC

Encoding problems with SilverStream

Hi,

I have a small template merging class that uses a "temp.vm" template ! This
template has some french charaters (latin).
When i run the class in a JVM (Jbuilder or Sun) , it seems that in the
merged string i have all the characters in proper order, without any
problems!

But when , i execute the same class from Silverstream there is a problem
that all accents french characters are replaced by absurd strings !
When i investigated the encoding used by the template
("Template.getEncoding()"), both of the enviornment returns "ISO-8859-1" .

So i really donot understand the problem ! Can anyone help to resolve this
please ?

Thanks,
Eswar Subramanyam.



This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Encoding problems with SilverStream

Posted by Geir Magnusson Jr <ge...@optonline.net>.
On 1/22/02 7:11 AM, "eswar.subramanyam@bnpparibas.com"
<es...@bnpparibas.com> wrote:

> Hi,
> 
> I have a small template merging class that uses a "temp.vm" template ! This
> template has some french charaters (latin).
> When i run the class in a JVM (Jbuilder or Sun) , it seems that in the
> merged string i have all the characters in proper order, without any
> problems!
> 
> But when , i execute the same class from Silverstream there is a problem
> that all accents french characters are replaced by absurd strings !
> When i investigated the encoding used by the template
> ("Template.getEncoding()"), both of the enviornment returns "ISO-8859-1" .
> 
> So i really donot understand the problem ! Can anyone help to resolve this
> please ?

I haven't the slightest clue, but have a question : how does silverstream
work?  Does it use an external JVM, or have it's own?



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>