iso to utf

Antonis Sidiropoulos asidirop at csd.auth.gr
Mon Jun 2 18:11:01 EEST 2003


Yparxei kapoio script h' programma pou na metatrepei
filenames  apo ena charset se allo ?
Px: iso8859-7 se UTF8?

Prospathisa na to kanw me tin xrhsh tou luit me:

#!/bin/sh
export LC_ALL=el_GR.ISO8859-7
find . | while read f; do
    s=`luit  echo $f`;
    echo $s
    # mv "$f" "$s"
done

alla to luit petaei lathos "Couldn't set terminal to raw" kai den 
epistrefei tipota.

apo command line, an se ena terminal me el_GR.ISO8859-7 locale kaneis
kati san to
luit echo "τεστελληνικα"
paizei mia xara...

Kamia idea?





More information about the Linux-greek-users mailing list