open with external pdf, character fu

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
biopsin
Fanatic
Fanatic
Posts: 122
Joined: 2016-02-07, 17:15

open with external pdf, character fu

Unread post by biopsin » 2018-06-07, 09:12

Hi,

I have been experiencing for a while nag while open with "any pdf viewer tested" downloading files from roundcube mail server (probably unreleated), while on dialog "You have chosen to open" a tmpfile is created example tfxahQDE.pdf.part.
Pressing OK creates 2 files "Bad og våtrom AB.pdf" 200K file and a "Bad og v�trom AB.pdf" 0 byte file and
for some reason the pdfviewer tries to open the last one and fails.
Happens also if I save the file..
Why are 2 files created one with correct character set and one not? Anyone else experienced this?

-rw-rw-r-- 1 userx userx 544K Jun 7 11:15 'Bad og våtrom AB - bilder.pdf'
-rw-r--r-- 1 userx userx 0 Jun 7 11:15 'Bad og v'$'\345''trom AB - bilder.pdf'
Last edited by biopsin on 2018-06-07, 09:14, edited 2 times in total.
voidlinux_x64 glibc-2.78 / selfcompiled latest Palemoon (gcc-13.2.0) / GTK2

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2193
Joined: 2018-05-05, 13:29

Re: open with external pdf, character fu

Unread post by vannilla » 2018-06-07, 15:44

Maybe the PDF viewer doesn't support non-ASCII locales for whatever reason, and when it's run it reads a bogus name.
Or it could be that the system locale settings are interfering somehow.

Locked