RC1: Unable to read files with accents in names on Windows

Thibaut Cuvelier dourouc05 at gmail.com
Mon Jan 22 22:55:06 UTC 2024


On Mon, 22 Jan 2024 at 23:53, Thibaut Cuvelier <dourouc05 at gmail.com> wrote:

> On Mon, 22 Jan 2024 at 23:00, Richard Kimberly Heck <rikiheck at gmail.com>
> wrote:
>
>> On 1/22/24 16:53, didiergabory at free.fr wrote:
>>
>> I also realize that I can no longer load images whose names contain accents.
>> In any case, that’s what’s happening with the file I just sent you. If I rename the file:
>> SchemaCinematique.pdf to SchemaCinématique.pdf
>> then I can read “Error converting to a readable format.”
>>
>> That's a serious bug. Can anyone on Windows check this?
>>
> I can reproduce with PDF files whose names have accents, but not PNG (with
> the same file name apart from the extension). If I export the file to LyX
> 2.3 and load it with LyX 2.3.7, the PDF file doesn't have any issue (with
> MikTeX, up to date).
>
> I'm attaching the logs (View > Messages Pane, with all logs enabled) and
> the corresponding test files (LyX 2.3 and 2.4).
>

Another data point: in the temporary folder LyX uses for this document
(lyx_tmpdir.bsUGvNMjILjF), I have six files, all of them empty (size: zero
byte).

PS C:\Users\Thibaut\AppData\Local\Temp\lyx_tmpdir.bsUGvNMjILjF> ls -R


Directory: C:\Users\Thibaut\AppData\Local\Temp\lyx_tmpdir.bsUGvNMjILjF


Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 22-Jan-24 23:47 lyx_tmpbuf0
-a---- 22-Jan-24 23:43 0 CacheItem.EtXrBH
-a---- 22-Jan-24 23:44 0 CacheItem.nbPvek
-a---- 22-Jan-24 23:42 0 CacheItem.OYeYzR
-a---- 22-Jan-24 23:42 0 gconvertAvdsxC.pdf
-a---- 22-Jan-24 23:43 0 gconvertFgslXV.pdf
-a---- 22-Jan-24 23:44 0 gconvertIdshbV.pdf


Directory:
C:\Users\Thibaut\AppData\Local\Temp\lyx_tmpdir.bsUGvNMjILjF\lyx_tmpbuf0


Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 22-Jan-24 23:47 2598 test.23.lyx
-a---- 22-Jan-24 23:47 2938 test.lyx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240122/8d561c40/attachment.html>


More information about the lyx-devel mailing list