https://issues.apache.org/ooo/show_bug.cgi?id=120273
--- Comment #4 from ChaoHuang <[email protected]> --- (In reply to comment #2) > (In reply to comment #0) > > Created attachment 78641 [details] > > The code in this file will show how to open a file in UNO mode > > > > Steps to reproduce the defect: > > 1) Launch Aoo3.4 in commandline with args > > "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" > > 2) Configure the attached code with Aoo3.4 in Java IDE, like Eclipse > > 3) Run "FirstConnection.class" to open sample file "h%e%l%l%o.odt" > > This is an invalid URL. > You must enconde the file name: > "h%25e%25l%25l%25o.odt" hi, Ariel & Juergen Thanks for your reply on this issue. Yes, the URL is not valid. I got the path "file:///D:/convert /h%25e%25l%25l%25o.odt" in UI mode (To open the file "h%e%l%l%o.odt" by menu). It's OK to open the file in UNO mode, when I set the URL to "file:///D:/convert /h%25e%25l%25l%25o.odt" instead of "file:///d:/convert/h%e%l%l%o.odt". My question is that how can I convert "file:///d:/convert/h%e%l%l%o.odt" into "file:///D:/convert /h%25e%25l%25l%25o.odt". I have hundreds of files which hold "%" in the name. It is impossible for me to correct the name manually one by one. Any suggestion? Thanks! -- You are receiving this mail because: You are the assignee for the bug.
