imagemagick-6.9.0.3 convert to pdf incorrectly handles non-ansi symbols

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Anarchist
Posts: 7
Joined: 2011-10-19T03:16:37-07:00
Authentication code: 8675308

imagemagick-6.9.0.3 convert to pdf incorrectly handles non-ansi symbols

Post by Anarchist »

convert utility uses output file's basename as a title of pdf.
But when it (output filename) contains non-ansi symbols, I see not expenced (and provided for standard English lang filenames) string, but an unreadable symbols sequence.

First, see as it should work (and works for ansi):

Code: Select all

$ convert 002.jpg test.pdf
After open result file:

Code: Select all

$ evince test.pdf
You' see "test" string in title's window.

After I want to use not only ansi symbols in output filename.

Code: Select all

$ convert 002.jpg тест.pdf
After open result file:

Code: Select all

$ evince тест.pdf
Here you can wonder seing 8-symbol unreadable sequence in title, instead of expected 4-letters word "тест".
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: imagemagick-6.9.0.3 convert to pdf incorrectly handles non-ansi symbols

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.9.2-9 Beta, available by sometime tomorrow. Thanks.
Anarchist
Posts: 7
Joined: 2011-10-19T03:16:37-07:00
Authentication code: 8675308

Re: imagemagick-6.9.0.3 convert to pdf incorrectly handles non-ansi symbols

Post by Anarchist »

magick wrote:We can reproduce the problem you posted and have a patch in ImageMagick 6.9.2-9 Beta, available by sometime tomorrow. Thanks.
Thank you!

I hope, this patch will be included into ImageMagick:7 too ☺
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: imagemagick-6.9.0.3 convert to pdf incorrectly handles non-ansi symbols

Post by magick »

Of course. Also done.
Post Reply