Hello zhaosheng, > Hi; > > In OpenOffice.org windows version, because the special character( something > like "ф") in file name is not allowed, the file can't be opened by double > clicking, An "IllegalArgumentException" is thrown while doing > "loadComponentFromURL(...)" in desktop module. > However, the file with special character as its name can still be opened by > click on file-Open. > is it a little confusing ? what do you guys think about this?
If you talk about loadComponentFromURL() .. I guess you specified the URL by yourself. Did you forgot to encode those URL ? E.g. "file:///mypath/any content.odt" must be encoded to "file:///mypath/any%20content.odt". Please note further that loadComponentFromURL() accepts URLs only. System paths are not supported here. > > Best Regards > > zhaosheng Regards Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
