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....
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to