Hello.

Well, hm, that's the script. We run it on solaris in /usr/lib/iconv dir 
(look for *8859-2* files) as root. Try something like this.

Jan

Pavel Hlavnicka wrote:

> That's true, solaris iconv has strange encoding names. We've got the 
> Perl script, which makes symlinks according to Honza's recommendation.
> 
> Send me a mail if you're interested.
> 
> Pavel
opendir DIR, '.' and @dir = readdir DIR and closedir DIR or die "Can not read dir 
'.'!\n";
foreach (@dir) {
    system "echo", "Making link: $1$2$3$4 ---> $1$2-$3$4" if 
/^(.*?)([Ii][Ss][Oo])(8859-2)(.*?)$/o;
    system "ln", "-s", "$1$2$3$4","$1$2-$3$4"  if 
/^(.*?)([Ii][Ss][Oo])(8859-2)(.*?)$/o;
    system "echo", "Making link: $1$2$3$4 ---> $1iso-$3$4" if 
/^(.*?)([Ii][Ss][Oo])(8859-2)(.*?)$/o;
    system "ln", "-s", "$1$2$3$4","$1iso-$3$4" if 
/^(.*?)([Ii][Ss][Oo])(8859-2)(.*?)$/o;
}

Reply via email to