International symbols in path or file name cause errors
Posted: 2010-08-03T00:17:20-07:00
Hi. I have a problem with files, that have international symbols (russian, in my case) in path or file name.
OS Windows XP Pro Russian
I have two copy of the one file with different names: image.jpg and рисунок.jpg
And two copy of the one TIF file: image.tif and рисунок.tif
In ImageMagick-6.6.3-2(or 0)-Q8 i got errors:
but
works fine. It is the same files, difference only in names with international symbols.
I try ImageMagick-6.5.1-Q8. I have no errors with
but it just NOT work. Silently failed.
I found an old version ImageMagick-5.5.7-Q8
have warning with TIF, but both files succesfully converted.
Same issues i can see, if international symbols is in file path: "C:\рисунок\image.tif" or "C:\рисунок\image.jpg"
OS Windows XP Pro Russian
I have two copy of the one file with different names: image.jpg and рисунок.jpg
And two copy of the one TIF file: image.tif and рисунок.tif
In ImageMagick-6.6.3-2(or 0)-Q8 i got errors:
Code: Select all
C:\Program Files\ImageMagick-6.6.3-Q8>mogrify -resize 50% C:\рисунок.jpg
mogrify: Empty input file `C:\рисунок.jpg' @ error/jpeg.c/EmitMessage/235.
C:\Program Files\ImageMagick-6.6.3-Q8>mogrify -resize 50% C:\рисунок.tif
mogrify: Cannot read TIFF header. `C:\рисунок.tif' @ warning/tiff.c/TIFFErrors/494
Code: Select all
C:\Program Files\ImageMagick-6.6.3-Q8>mogrify -resize 50% C:\image.jpg
C:\Program Files\ImageMagick-6.6.3-Q8>mogrify -resize 50% C:\image.tif
I try ImageMagick-6.5.1-Q8. I have no errors with
Code: Select all
C:\Program Files\ImageMagick-6.5.1-Q8>mogrify -resize 50% C:\рисунок.jpg
C:\Program Files\ImageMagick-6.5.1-Q8>mogrify -resize 50% C:\рисунок.tif
I found an old version ImageMagick-5.5.7-Q8
Code: Select all
C:\Program Files\ImageMagick-5.5.7-Q8>mogrify -resize 50% C:\рисунок.jpg
C:\Program Files\ImageMagick-5.5.7-Q8>mogrify -resize 50% C:\рисунок.tif
mogrify: unknown field with tag 34665 (0x8769) ignored. (C:\Ёшёєэюъ.tif).
Same issues i can see, if international symbols is in file path: "C:\рисунок\image.tif" or "C:\рисунок\image.jpg"