Description: Make default charset used configurable, set to UTF-8, see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=322552 --- a/imageindex +++ b/imageindex @@ -290,6 +290,10 @@ $thumbxmetatag = 'ThumbnailX'; $thumbymetatag = 'ThumbnailY'; +# which charset to use +#$file_charset = 'ISO-8859-1'; +$file_charset = 'UTF-8'; + # Any of the above can be overridden in an rc file in the user's home dir $rcfile = "$ENV{'HOME'}/.imageindexrc"; @@ -1430,7 +1434,7 @@ print "\n"; $verstring = &versionstring(); printf ("\n", $verstring); - printf ("\n"); + printf ("\n"); print "$current_titletext - $filename\n"; print "\n"; print "\n\n"; @@ -2276,7 +2280,7 @@ print "\n"; $verstring = &versionstring(); printf ("\n", $verstring); - printf ("\n"); + printf ("\n"); if (defined ($write_meta_tag{$titlemetatag})) { print "\n"; } @@ -2628,7 +2632,7 @@ print "\n"; $verstring = &versionstring(); printf ("\n", $verstring); - printf ("\n"); + printf ("\n"); print ""; print "$current_titletext\n"; print "\n"; @@ -2658,7 +2662,7 @@ print "\n"; $verstring = &versionstring(); printf ("\n", $verstring); - printf ("\n"); + printf ("\n"); print "\n"; print "$current_titletext\n"; print "\n\n";