Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-doc-el
Navigation:
Lists: gentoo-doc-el: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-doc-el@g.o
From: Ioannis Aslanidis <deathwing00@g.o>
Subject: File conversion
Date: Wed, 20 Jul 2005 02:03:06 +0200
-----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@g.o mailing list


Replies:
Aporia gia ta Agglika xml
-- George Papadopoulos
Navigation:
Lists: gentoo-doc-el: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Πληροφορίες για νεοσύλλεκτους :-)
Next by thread:
Aporia gia ta Agglika xml
Previous by date:
Πληροφορίες για νεοσύλλεκτους :-)
Next by date:
Aporia gia ta Agglika xml


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.