On Wed, Jun 20, 2007 at 09:44:12AM +0100, José Matos wrote: > On Wednesday 20 June 2007 00:00:06 Enrico Forestieri wrote: > > The attached patch fixes it. José, OK to commit? > > The patch seems right. If you someone to test this and guarantee that it > works (no need to be a developer) it can go in.
Testing is quite easy: -) Create a directory with nonascii chars, say /tmp/olà -) Start LyX and in Tools->Preferences->Paths set the temporary directory to /tmp/olà -) Save preferences, quit and then restart LyX -) Try to insert any graphics file. Without the patch, LyX is not able to generate a preview. With it, everything is fine. When testing, be sure that the graphics file is not already cached, as in this case the conversion script will not be run ;-) -- Enrico