Discussion:
File conversion
Ioannis Aslanidis
2005-07-20 00:03:06 UTC
Permalink
-----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-----
--
gentoo-doc-el-aBrp7R+bbdUdnm+***@public.gmane.org mailing list
George Papadopoulos
2005-07-21 17:52:41 UTC
Permalink
H8ela na kanw mia erhthsh gia ena problhma pou antimetwpisa. Phga na
katebasw kapoio Aggliko documentation se xml. Pathsa to download kai to
arxeio katebhke me ta XML tags, dixws style information dhladh. Etsi,
prepei na katebei h kanw kapoio la8os.
Deyteron, egw 8elw na xrhsimopoihsw to OpenOffice gia na grapsw to
documentation. Mporw na fortwso apeu8eias to xml arxeio sto OpenOffice
kai na kanw tis allages;

Me ektimhsh

Papadopoulos Giwrgos
--
gentoo-doc-el-aBrp7R+bbdUdnm+***@public.gmane.org mailing list
Ioannis Aslanidis
2005-07-21 17:58:09 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by George Papadopoulos
H8ela na kanw mia erhthsh gia ena problhma pou antimetwpisa. Phga na
katebasw kapoio Aggliko documentation se xml. Pathsa to download kai to
arxeio katebhke me ta XML tags, dixws style information dhladh. Etsi,
prepei na katebei h kanw kapoio la8os.
Swsto einai. To style einai sto xslt.
Post by George Papadopoulos
Deyteron, egw 8elw na xrhsimopoihsw to OpenOffice gia na grapsw to
documentation. Mporw na fortwso apeu8eias to xml arxeio sto OpenOffice
kai na kanw tis allages;
Mporeis. Apla kitakse na exeis entaksi tin localization kai to utf-8

- --
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-----

iD8DBQFC3+Ixzbl9qrmxH04RAgrpAJ9Pq7bSXWgj8F8Rr4zEVUJf7Xh7oQCgjvuQ
XpA83CRdpTuwYa0+iPyVQ+o=
=IkGd
-----END PGP SIGNATURE-----
--
gentoo-doc-el-aBrp7R+bbdUdnm+***@public.gmane.org mailing list
Loading...