cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Name of uploaded file converted...?
Date Tue, 03 Sep 2002 13:54:10 GMT
Peter Bär wrote:

>Hi all there,
>
>after while of staying back just lurking I'm back --- with a new (?)
>little problem.
>
>We want to upload files from the client to the server. The example
>packaged with the C2.0.3 distribution is just right for what we want,
>with just one little snag:
>
>If the filename contains special characters like German umlauts (see
>what they look like in my name: Bär), these special characters are
>converted to something else. Depending on the platform the Tomcat
>server is running on the umlauts are converted to question marks
>(Solaris) oder rectangles (Win2k/XP).
>
>
>* Does anyone of you know how to preserve the filename during upload? *
>

I'm not sure, but this looks like same old form-encoding issue: you 
should let Tomcat know what is your form encoding. To preserve file 
name, you can either write an action which will rename them back to 
whatever is entered in the form, or fix the way how they are created.

Vadim



>If the filename changes the follow-up processing has no chance to
>find it. That is our problem.
>
>
>Thanks in advance, best wishes
>
>        Peter Bär
>
>
>P.S.: Sorry for posting twice, forgot to specify a subject last time.
>  
>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message