Ahh, I see. Thanks a lot!

Oliver

Truong Nguyen wrote:

Hi Oliver,

If you see that it's necessary, you can add it to Slide project.

I post it to list for developers who need it or encounter same problem.

Truong Nguyen.

----- Original Message ----- From: "Oliver Zeigermann" <[EMAIL PROTECTED]>
To: "Slide Developers Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 2:09 PM
Subject: Re: Class for escape the path contains non-ascii, unicode
characters cause "invalid uri" exception




What do you want us to do with it?

Oliver

Truong Nguyen wrote:


/**
* This class help encode the path contains invalid characters.
*
* <P>     When path contains special characters such as '{', '}'
*         or Unicode character. When the application executes
*         PropFind, PropPatch, Move, Delete method etc..., can cause
exception
*         "invalid URI"
*
* <PRE>
*         Example: When we fetch an entry of Calendar of MS Exchange

server


*
*         path =
PathEncoder.encode("exchange/user/calendar/{0994-232-EDSG-121}.eml",
"UTF-8");
*         // path is "exchange/user/calendar/7B0994-232-EDSG-1217B.eml"
*         PropFindMethod pfm = new
PropFindMethod(path,DepthSupport.DEPTH_0);
*         // Now safe to execute this method
*
* </PRE>
*/

See attachment for java file.

Truong




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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to