Re: BUG: German umlauts

Glenn Linderman <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
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.crassum@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.