tomcat 5.5 unicode issiues!

2008-08-20 Thread Shahar Cohen
Hi,

I have some files in my site that contain some characters that the tomcat 5.5 
dont parse them correctly and thus 

I get 404 error file not found.

For instance the file names are:

bbb%e2%80%99s-bbb-.htm

ggg-xx-eee’s-car.htm

got-it….htm

catch-a-f….htm 

 

this file ‘to-catch-a-thief….htm’ is being translated to this
‘to-catch-a-thief%E2%80%A6.htm’  by tomcat.

Do I need to configure something to the tomcat so I would be able to parse it 
well. 

 

Thanks in advanced



Re: tomcat 5.5 unicode issiues!

2008-08-20 Thread Johnny Kewl


- Original Message - 
From: Shahar Cohen [EMAIL PROTECTED]

To: users@tomcat.apache.org
Sent: Wednesday, August 20, 2008 2:33 PM
Subject: tomcat 5.5 unicode issiues!



Hi,

I have some files in my site that contain some characters that the tomcat 
5.5 dont parse them correctly and thus


I get 404 error file not found.

For instance the file names are:

bbb%e2%80%99s-bbb-.htm

ggg-xx-eee’s-car.htm

got-it….htm

catch-a-f….htm



this file ‘to-catch-a-thief….htm’ is being translated to this 
‘to-catch-a-thief%E2%80%A6.htm’  by tomcat.


Do I need to configure something to the tomcat so I would be able to parse 
it well.




Thanks in advanced


How are those file names getting written do disk?
What it look like... is that you writing file names to disk that are still 
URLEnoded, and then expection them to be read... I dont think this has 
anything to do with unicode as such...


In google on your browser type

Hello There

Then look at the URL... it becomes

Hello%20There

I think thats whats happening...

Decode the file names befor you write then to disk... or else they become 
Hello%20There

ie that is the name now...

Have fun...
---
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
--- 



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]