For my code, I resorted to creating a temporary file with benign, ASCII-only
name and moving it using java after the conversion is done. Although this
requires a bit more cleanup code in the event that the user cancels or the
operation failes, at least it works. Might this still fail in a non-ASCII
local -- e.g. japan?
One more quick note is that the temporary file's path probably has to be
all ASCII too, so I used Java's File.createTempFile( String, String )
function which gives me a file in /tmp. Java doesn't guarantee that it's
all ASCII AFAIK, but it seems to be highly improbable that it would use
anything else, so I'm going with that. The trouble then is that moving it
to where I want it may take a long time (/tmp is not always on the target
volume, after all).
Anyway, it works which is the most imporant thing, but I'd really love a
a better solution if someone has one.
bjorn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden