[MPlayer-translations] help/help_mp-it.h vs. UTF-8
Nico Sabbi
Nicola.Sabbi at poste.it
Mon Aug 4 11:46:26 CEST 2008
On Monday 04 August 2008 11:33:32 Paul TT wrote:
> >
> > What makes you think it is UTF-8? Have you looked at the file in
> > less? In vim (my statusline shows "help/help_mp-it.h"
> > [converted])? Have you checked with the 'file' command?
>
> yes and yes.
>
> > > can you -or someone else- check if its' really utf'ed in the
> > > repo.
> >
> > It is not UTF-8:
> >
> > silver:/var/tmp/mplayer_vanilla $ file file help/help_mp-it.h
> > help/help_mp-it.h: Non-ISO extended-ASCII C++ program text
>
> here is the same, but _after_ the commit
> before, 'file' recognizes it as utf-8
> now i'll retry the commit with the utf-8 file i saved.....
> pls tell me if then it is utf'd...
> sorry for the annoyance, but anyway this problem must be solved,
> sigh
>
> > > now my machine it's ok, after the reinstallation LANG was left
> > > as above, now it's all ok.
> >
> > This sentence confuses me. What is your locale now? What is the
> > value of the LANG and LC_ALL environment variables, what do you
> > have in /etc/default/locale?
>
> € echo $LANG
> it_IT.UTF-8 at euro
>
> € echo $LC_ALL
> it_IT.UTF-8 at euro
>
> € cat /etc/default/locale
> LANG=it_IT.UTF-8
to verify that the file is really all UTF8 you can run
$ iconv -f UTF8 -t UTF8 < mplayer.1 >/dev/null
if there's any error report the encoding is not valid
More information about the MPlayer-translations
mailing list