You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by cc...@ust.hk on 2002/03/12 04:55:35 UTC
About Chinese BIG5 encoding filename
Dear guys/gals,
I have an apache w/ mod_dav 1.0.2 as DAV server.
I am using the slide webdav client to write some code.
I found that Chinese BIG5 encoding filename resources on DAV server,
could NOT be get using WebdavResource 's listWebdavResources() method,
while other english filename resources are OK.
I am wondering if it is a problem of the slide client library OR it is a
problem of apache mod_dav server. Anyone with any idea?
Thx.
Bill
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: About Chinese BIG5 encoding filename
Posted by Sung-Gu <je...@apache.org>.
I want to talk about it in details....
What I'm saying is careful to use HttpURL constructor with one argument.
For example, you shouln't use HttpURL("...") constructor as a string that you can read some special letters.
(You can notice it in javadoc. I think it's an usage about HttpURL url class correctly)
Actually, 'slide client' is using like that, even though it's wrong and has some problem. :(
It haven't applied to it escaping and encoding rules successfully and been misusing it.
So, in order to solve your problem, please, use other constructors in HttpURL class.
Sung-Gu
P.S.: I thought that it's not a better way to parse manually a unescaped string long time ago.
Because the URI ecnoding and escaping towards a partial string on http url must be done differently... :(
However, for easiness, I guess I should parse an unescaped http url string, though. I'm thinking about it.
What do you guys think of it? Which one is better, any ideas?
----- Original Message -----
From: "Sung-Gu" <je...@apache.org>
To: "Slide Developers Mailing List" <sl...@jakarta.apache.org>
Sent: Tuesday, March 12, 2002 4:52 PM
Subject: Re: About Chinese BIG5 encoding filename
> Actually, the slide client has a bug. I guess the slide client problem.
> In other words, currently it doesn't support the easier way to use the library.
> As I know, even though the slide client library is ok. ^^;
> For example, in some case it doesn't support URI escaping properly...
> I think I will apply the patch some later soon. sorry.. ^^;
>
> Sung-Gu
>
> ----- Original Message -----
> From: <cc...@ust.hk>
> To: <sl...@jakarta.apache.org>
> Cc: <cc...@ust.hk>
> Sent: Tuesday, March 12, 2002 12:55 PM
> Subject: About Chinese BIG5 encoding filename
>
>
> Dear guys/gals,
>
> I have an apache w/ mod_dav 1.0.2 as DAV server.
> I am using the slide webdav client to write some code.
> I found that Chinese BIG5 encoding filename resources on DAV server,
> could NOT be get using WebdavResource 's listWebdavResources() method,
> while other english filename resources are OK.
>
> I am wondering if it is a problem of the slide client library OR it is a
> problem of apache mod_dav server. Anyone with any idea?
>
> Thx.
>
> Bill
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
Re: About Chinese BIG5 encoding filename
Posted by Sung-Gu <je...@apache.org>.
Actually, the slide client has a bug. I guess the slide client problem.
In other words, currently it doesn't support the easier way to use the library.
As I know, even though the slide client library is ok. ^^;
For example, in some case it doesn't support URI escaping properly...
I think I will apply the patch some later soon. sorry.. ^^;
Sung-Gu
----- Original Message -----
From: <cc...@ust.hk>
To: <sl...@jakarta.apache.org>
Cc: <cc...@ust.hk>
Sent: Tuesday, March 12, 2002 12:55 PM
Subject: About Chinese BIG5 encoding filename
Dear guys/gals,
I have an apache w/ mod_dav 1.0.2 as DAV server.
I am using the slide webdav client to write some code.
I found that Chinese BIG5 encoding filename resources on DAV server,
could NOT be get using WebdavResource 's listWebdavResources() method,
while other english filename resources are OK.
I am wondering if it is a problem of the slide client library OR it is a
problem of apache mod_dav server. Anyone with any idea?
Thx.
Bill
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>