On approximately 2/10/2010 8:59 AM, came the following characters from 
the keyboard of 
da.mihi.sis.bubulae.frustrum.assae.solana.tuberosa.in.modo.gallico.fricta.ac.quassum.lactatum.coagulatum.cras...@imagemagick.org:
 

>> convert label:��� label.jpg
>>      
> ImageMagick had numerous problems related to supporting the various encodings
> available so we standardized on UTF-8.  This permits us to support all
> chanracters sets in a uniform way.  Convert your string to UTF-8 and the
> label conversion should work properly.

Yes, it does work, even on Windows, when you pass UTF-8 stuff via a 
file.  However, since labels often want to come from the command line, 
ImageMagick should honor the code page of the command line when 
interpreting parameter values from the command line.  Standardizing on 
UTF-8 is fine, internally, but doesn't work for other interfaces.  
Declaring that all file data must be in UTF-8 is also fine.  
Interpreting the command line as UTF-8 when it isn't is simply 
incorrect, and requires more complexity in creating those command 
lines.  I've just added about 20 lines of code to a Python script which 
drives ImageMagick, to work-around the fact accented characters don't 
work on the ImageMagick command line.  Those 20 lines would be totally 
unnecessary, except for this bug.


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users
  • ... Wolfgang Hugemann
    • ... Michał Skalski
    • ... da . mihi . sis . bubulae . frustrum . assae . solana . tuberosa . in . modo . gallico . fricta . ac . quassum . lactatum . coagulatum . crassum
      • ... Wolfgang Hugemann
      • ... Glenn Linderman

Reply via email to