Re: file upload and unicode

2003-06-23 Thread Dan Tran
Just upload the file as normal binary file. When you read this file at the server side, make sure to read it with correct encoding of unicode type (like UTF8,UTF16, etc) You probably need to allow the user to enter the upload file encoding type, and pass along this info to server -Dan - Orig

Re: file upload and unicode

2003-06-23 Thread Dzidorius Martinaitis \(kafka\)
Sorry, you was right. I lift filter declaration above all and have good depoyment. And now I have unicode and file upload. Thank you very much. > >Hello, > >I try use filter, but always get this error: > >09:38:52,076 ERROR [Digester] Parse Error at line 65 column -1: Element > > > > > > What i

Re: file upload and unicode

2003-06-23 Thread Gemes Tibor
Dzidorius Martinaitis (kafka) írta: Hello, I try use filter, but always get this error: 09:38:52,076 ERROR [Digester] Parse Error at line 65 column -1: Element What is on 65th line of your web.xml? Tib - To unsubscribe, e-m

Re: file upload and unicode

2003-06-23 Thread Dzidorius Martinaitis \(kafka\)
part of web.xml: http://java.sun.com/dtd/web-app_2_3.dtd";> Set Character Encoding filters.SetCharacterEncodingFilter encoding UTF-8 Set Character Encoding action skip > >Yes, I know. And my web.xml have exactly this declaration. > >But problem is same. > > > > >

Re: file upload and unicode

2003-06-23 Thread Gemes Tibor
Dzidorius Martinaitis (kafka) írta: Yes, I know. And my web.xml have exactly this declaration. But problem is same. And the order of tags are preserved according to this DTD? Some containers require this as well others not. Tib -

Re: file upload and unicode

2003-06-22 Thread Dzidorius Martinaitis \(kafka\)
Yes, I know. And my web.xml have exactly this declaration. But problem is same. > Chck your dtd. It should be > 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";> > > The web-app_2_2 does not allow filters. > > Hth, > Tib > > > >

Re: file upload and unicode

2003-06-22 Thread Gemes Tibor
Dzidorius Martinaitis (kafka) írta: Hello, I try use filter, but always get this error: 09:38:52,076 ERROR [Digester] Parse Error at line 65 column -1: Element "web-app " does not allow "filter" here. org.xml.sax.SAXParseException: Element "web-app" does not allow "filter" here. at org.apac