how to make user account partially bi-lingual?

Ed Greshko Ed.Greshko at greshko.com
Fri Apr 19 01:40:16 UTC 2013


On 04/19/13 09:31, William Mattison wrote:
> > What do you get when you type....
> >
> > file filename  ?
> >
> > I don't remember, but I think in the Fedora 9 days Unicode may not have been the default.  The encoding you have may be GB2312.
> >
> > You can try running....
> >
> > iconv -f GB2312 -t UTF8 filename > filename.utf8
> >
> > and then vi the resulting file....
>
> On the Redhat 9 system, for a simplified Chinese file, I get "ISO-8859 text".
>
> On the Fedora-18 system, for a simplified Chinese file imported from the Redhat 9 system, I get "ISO-8859 text".
>
> On the Fedora-18 system, for a new simplified Chinese file, I get "UTF-8 Unicode text".
>
> I have not yet tried an iconv.  When I try it, what should the f and t arguments be, and do I need any other arguments?
>
>

The ISO-8859 text is a good indication that the file is encoded in GB2312.

So, you'll want

-f GB2312
-t UTF-8

That is all....

-- 
>From now on, at least during winter time, Im going to blame all spelling an grammar erros on the cat sitting on my chest every time I sit down at the computer....


More information about the users mailing list