2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "character-encoding"
|
|
|
|
tags: [ "Documentation", "system" ]
|
|
|
|
---
|
2020-01-02 00:04:35 +00:00
|
|
|
Convert a text file from one encoding type to another with:
|
|
|
|
|
|
|
|
> iconv -f ascii -t utf8 oldfilename > newfilename
|
|
|
|
|
|
|
|
Available options are:
|
|
|
|
|
|
|
|
* ISO-8859-15
|
|
|
|
|
|
|
|
* UTF-8
|
|
|
|
|
|
|
|
* ASCII
|
|
|
|
|
|
|
|
* Lots more
|
|
|
|
|
|
|
|
Generate a full list of encoding types available with:
|
|
|
|
|
|
|
|
> iconv -l
|
|
|
|
|