Ioannis Aslanidis
2005-07-20 00:03:06 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
O neysx mou ipe oti einai protimotero logou tou oti to iconv den mporei
na kanei inplace recoding. Gi'afto, parakalo xrisimopiiste to recode:
http://www.gentoo.org/proj/en/gdp/doc/doc-tipsntricks.xml
4. Frequently Asked Questions
How do I convert a file to UTF-8?
There are quite a few tools that help you. A popular one is
app-text/recode. Another one is iconv, part of sys-libs/glibc.
Recode's use is pretty straightforward. You tell it what character
encoding is currently used by the document and to what encoding you want
to convert the document.
For instance, to convert a document from ISO-8859-15 (also known as
Latin-9) to UTF-8, you can use:
Code Listing 4.1: Recoding a file
(l9 = ISO-8859-15, u8 = UTF-8)
$ recode l9..u8 file.xml
- --
Ioannis Aslanidis
Gentoo Staff Member
Gentoo Linux
<deathwing00[at]gentoo[dot]org> 0xB9B11F4E
<deathwing00[at]forums[dot]gentoo[dot]org> 0xC2539DA3
Hellenic Gentoo (http://hellenicgentoo.sf.net)
Gentoo Forums (http://forums.gentoo.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC3ZS6zbl9qrmxH04RAuuCAKCAmY8Q/fNtZoWZ9DAVuYz3sst3VwCdGJw4
NoqWux4p8tKaAw2ak4sf2K8=
=9E6t
-----END PGP SIGNATURE-----
Hash: SHA1
O neysx mou ipe oti einai protimotero logou tou oti to iconv den mporei
na kanei inplace recoding. Gi'afto, parakalo xrisimopiiste to recode:
http://www.gentoo.org/proj/en/gdp/doc/doc-tipsntricks.xml
4. Frequently Asked Questions
How do I convert a file to UTF-8?
There are quite a few tools that help you. A popular one is
app-text/recode. Another one is iconv, part of sys-libs/glibc.
Recode's use is pretty straightforward. You tell it what character
encoding is currently used by the document and to what encoding you want
to convert the document.
For instance, to convert a document from ISO-8859-15 (also known as
Latin-9) to UTF-8, you can use:
Code Listing 4.1: Recoding a file
(l9 = ISO-8859-15, u8 = UTF-8)
$ recode l9..u8 file.xml
- --
Ioannis Aslanidis
Gentoo Staff Member
Gentoo Linux
<deathwing00[at]gentoo[dot]org> 0xB9B11F4E
<deathwing00[at]forums[dot]gentoo[dot]org> 0xC2539DA3
Hellenic Gentoo (http://hellenicgentoo.sf.net)
Gentoo Forums (http://forums.gentoo.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC3ZS6zbl9qrmxH04RAuuCAKCAmY8Q/fNtZoWZ9DAVuYz3sst3VwCdGJw4
NoqWux4p8tKaAw2ak4sf2K8=
=9E6t
-----END PGP SIGNATURE-----
--
gentoo-doc-el-aBrp7R+bbdUdnm+***@public.gmane.org mailing list
gentoo-doc-el-aBrp7R+bbdUdnm+***@public.gmane.org mailing list