[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting locale's charset from a script
Kaixo!
On Wed, Oct 17, 2001 at 09:34:02PM +0100, Edmund GRIMLEY EVANS wrote:
> > A missing "-f" or "-t" argument to the iconv program already denotes
> > the locale charset. This is true for both glibc iconv (since
> > glibc-2.2.2) and libiconv iconv (since libiconv-1.6).
Interesting to know that, thanks.
> Thanks. But what if I want to convert to the locale charset with
> transliteration? Is that possible with iconv?
Add //TRANSLIT to target encoding name.
But you you need to tell the encoding, "iconv -t //TRANSLIT" doesn't work.
iconv -t `locale charset`//TRANSLIT
does, howerver (I supose any system with a working shell command "icon"
also has a working shell command "locale")
--
Ki ça vos våye bén,
Pablo Saratxaga
http://www.srtxg.easynet.be/ PGP Key available, key ID: 0x8F0E4975
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/