Re: Can someone please comment on this short program



> Some tips for encoding charsets troubles:

Isn't this for file contents, not file names?

>  - You can quickly know what charset a file is with "$ file -i
> some_file.c"
>  - You can quickly convert a file from one charset to another with gnu
> recode[1].
>
> Example:
> [nelson sitec07 ~]$ file -i kitar.txt
> kitar.txt: text/plain; charset=iso-8859-1
> [nelson sitec07 ~]$ recode iso-8859-1..UTF8 kitar.txt
> [nelson sitec07 ~]$ file -i kitar.txt
> kitar.txt: text/plain; charset=utf-8
> [nelson sitec07 ~]$
>
>  Here[2] is a script that converts recursively the files in a directory
> from iso-8859-1 to utf8. But better you get your editor to work with utf8
> or try another editor (gvim?).
>
> [1] http://directory.fsf.org/recode.html
> [2] http://www.mpsoftware.dk/forum/viewtopic.php?t=569#2047
>
> _______________________________________________
> gnome-vfs-list mailing list
> gnome-vfs-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
>


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]