From: Thomas Leonard <tal00r@ec...> - 2003-02-25 14:33:22
On Mon, Feb 24, 2003 at 07:35:32PM +0100, Arnaud CALVO wrote:
> Hi !
> For the first time, I tried to open the french manual in Edit (1.9.0),
> and it says "data is not valid utf-8. Please select the file's encoding.
> Turn on 'ignore errors' to try and load it anyway.", whereas the english
> manual doesn't display this.
> What are the consequences of the answer to this question, apart from
> converting it ? And how can I do to know the encoding of a file ? How
> can I convert my (iso8859-15 ?) file to valid utf-8 ?
Just select iso-8859-15 from the menu and it should be converted. When you
save it, it'll be UTF-8. Make sure you change the encoding= line at the
start of the file.
The English manual doesn't trigger the warning because it only uses ASCII
characters (and is therefore already valid UTF-8).
> Will I be able to open it with another text editor after that ? (vi ?)
In Vim, do ':help utf8' for help. iconv can also be used to convert
between character sets.
[ CC'ing to list as other translators may care about it ]
Thomas Leonard http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
Get latest updates about Open Source Projects, Conferences and News.