On 04/17/09 18:04, Ariel Constenla-Haile wrote:
For conversion between URL and system path you should always use the also more verbose OOo API instead of Java's;
[...]
(according to Stephan's commnet in http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=19333 in some cases the Java API does not know anything about OOo representation).
Meanwhile I learned that "[i]t appears that Java nowadays expects file URIs in UTF-8 (i.e., what OOo calls 'internal' URIs)" (see <http://qa.openoffice.org/issues/show_bug.cgi?id=93769#desc5>), so it is probably better to use Java's API here after all. (Though the Java API might have problems with OOo's convention of encoding the server part of a UNC path name as the authority part of a file URL; one would have to check that out.)
-Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
