Where is the $LANG variable defined?

Björn Persson listor1.rombobeorn at comhem.se
Sun Nov 7 22:14:46 UTC 2004


Emmanuel Seyman wrote:

> newfname=`echo "$1" | iconv -f UTF-8 -t ISO_8859-15`
> 
> if [ $? -ne 0 ]; then
> 	echo "Error: iconv failed. Skipping."
> 	exit
> fi
> mv $1 $newfname

That's a neat workaround. It looks like it should work for single files, 
but not for recursive copying I'm afraid.

> http://freshmeat.net/projects/convmv/
> http://www.gnu.org/software/recode/recode.html

Thanks! I'll check Convmv out. Recode looks like it does the same job as 
Iconv.

Björn Persson





More information about the fedora-list mailing list