Converting files between various character sets and usages
If you need any type of character set conversion, you can use recode tool. It is works for lots of character sets and it is even supports some other operations: converting to base64, quoted-printable, CRLF conversions etc. You can find a list of conversion options with:
recode -l | less
If you want to change a file's encoding iso-8859-9 to utf8:
recode ISO-8859-9..UTF8 < example.txt > example.txt.utf8
Or if you want to base64 encode:
recode ../b64 < example.txt > example.txt.b64
- 0 Comment
- Murat Demirten
- 21 Apr 2008, 13:41
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
