The last few commits to the Italian messages file broke the encoding. That file should be UTF-8. Paul, you need to edit it with a UTF-8 capable editor. And you need to fix the non-UTF-8 parts now, because a mixed-encoding file is broken in all cases. Diego
On Thu, 29 May 2008 14:59:30 +0200 Diego Biurrun <diego@biurrun.de> wrote:
The last few commits to the Italian messages file broke the encoding. That file should be UTF-8. Paul, you need to edit it with a UTF-8 capable editor. And you need to fix the non-UTF-8 parts now, because a mixed-encoding file is broken in all cases.
so i'm in trouble i mean: i used an utf-8 editor (vim), probably by may fault i input text non in utf-8.... i'm not able to distinguish between utf-8 and non-utf-8 parts, now. how can i do? thanx for an answer, sorry for the annoyance
On Tue, Jul 08, 2008 at 04:54:05PM +0200, Paul TT wrote:
On Thu, 29 May 2008 14:59:30 +0200 Diego Biurrun <diego@biurrun.de> wrote:
The last few commits to the Italian messages file broke the encoding. That file should be UTF-8. Paul, you need to edit it with a UTF-8 capable editor. And you need to fix the non-UTF-8 parts now, because a mixed-encoding file is broken in all cases.
so i'm in trouble i mean: i used an utf-8 editor (vim), probably by may fault i input text non in utf-8....
Is your system UTF-8 capable? Is your locale an UTF-8 locale?
i'm not able to distinguish between utf-8 and non-utf-8 parts, now.
Don't you see funny characters on line 20 for example?
how can i do?
Fix your system to be UTF-8. It's high time, we've been in the 21st century for some time now.. :)
thanx for an answer, sorry for the annoyance
No worries, just please get this fixed. Diego
On Wed, 9 Jul 2008 17:25:26 +0200 Diego Biurrun <diego@biurrun.de> wrote:
On Tue, Jul 08, 2008 at 04:54:05PM +0200, Paul TT wrote:
On Thu, 29 May 2008 14:59:30 +0200 Diego Biurrun <diego@biurrun.de> wrote:
The last few commits to the Italian messages file broke the encoding. That file should be UTF-8. Paul, you need to edit it with a UTF-8 capable editor. And you need to fix the non-UTF-8 parts now, because a mixed-encoding file is broken in all cases.
so i'm in trouble i mean: i used an utf-8 editor (vim), probably by may fault i input text non in utf-8....
Is your system UTF-8 capable? Is your locale an UTF-8 locale?
i'm not able to distinguish between utf-8 and non-utf-8 parts, now.
Don't you see funny characters on line 20 for example?
that's the problem, sigh.... in vim i see the accented letters in the correct way when i input them, but when i reopen the file they are /funny/...
how can i do?
Fix your system to be UTF-8. It's high time, we've been in the 21st century for some time now.. :)
ehehehe you're right. apparently i am, but may be something i did wrong in some place...
thanx for an answer, sorry for the annoyance
No worries, just please get this fixed.
asap i'll try to workout and correct the stuff..... sorry again
On Mon, Jul 14, 2008 at 12:32:07PM +0200, Paul TT wrote:
On Wed, 9 Jul 2008 17:25:26 +0200 Diego Biurrun <diego@biurrun.de> wrote:
On Tue, Jul 08, 2008 at 04:54:05PM +0200, Paul TT wrote:
On Thu, 29 May 2008 14:59:30 +0200 Diego Biurrun <diego@biurrun.de> wrote:
The last few commits to the Italian messages file broke the encoding. That file should be UTF-8. Paul, you need to edit it with a UTF-8 capable editor. And you need to fix the non-UTF-8 parts now, because a mixed-encoding file is broken in all cases.
so i'm in trouble i mean: i used an utf-8 editor (vim), probably by may fault i input text non in utf-8....
Is your system UTF-8 capable? Is your locale an UTF-8 locale?
i'm not able to distinguish between utf-8 and non-utf-8 parts, now.
Don't you see funny characters on line 20 for example?
that's the problem, sigh.... in vim i see the accented letters in the correct way when i input them, but when i reopen the file they are /funny/...
Then somehow your vim is set to ISO8859-1...
how can i do?
Fix your system to be UTF-8. It's high time, we've been in the 21st century for some time now.. :)
ehehehe you're right. apparently i am, but may be something i did wrong in some place...
What is your locale? What settings do you have on the console for LANG, LC_ALL and similar? What distro are you running? Diego
On Mon, 14 Jul 2008 23:27:26 +0200 Diego Biurrun <diego@biurrun.de> wrote:
On Mon, Jul 14, 2008 at 12:32:07PM +0200, Paul TT wrote:
On Wed, 9 Jul 2008 17:25:26 +0200 Diego Biurrun <diego@biurrun.de> wrote:
On Tue, Jul 08, 2008 at 04:54:05PM +0200, Paul TT wrote:
On Thu, 29 May 2008 14:59:30 +0200 Diego Biurrun <diego@biurrun.de> wrote:
The last few commits to the Italian messages file broke the encoding. That file should be UTF-8. Paul, you need to edit it with a UTF-8 capable editor. And you need to fix the non-UTF-8 parts now, because a mixed-encoding file is broken in all cases.
so i'm in trouble i mean: i used an utf-8 editor (vim), probably by may fault i input text non in utf-8....
Is your system UTF-8 capable? Is your locale an UTF-8 locale?
i'm not able to distinguish between utf-8 and non-utf-8 parts, now.
Don't you see funny characters on line 20 for example?
that's the problem, sigh.... in vim i see the accented letters in the correct way when i input them, but when i reopen the file they are /funny/...
Then somehow your vim is set to ISO8859-1...
how can i do?
Fix your system to be UTF-8. It's high time, we've been in the 21st century for some time now.. :)
ehehehe you're right. apparently i am, but may be something i did wrong in some place...
What is your locale? What settings do you have on the console for LANG, LC_ALL and similar? What distro are you running?
I had it_IT.UTF-8@euro for everything but not LANG, which was it_IT@euro. the problem i think was vim misrecognized the file as not utf8: as soon i saved it with fileencoding=utf-8, it began to work as expected; i changed anyway LANG to match the other environment vars i'm now committing the changes to help_mp-it.h, see pls if now it's ok thanx PS:: it's Debian...
On Fri, 18 Jul 2008 10:27:48 +0200 Paul TT <mplayer@paultt.org> wrote: ....
I had it_IT.UTF-8@euro for everything but not LANG, which was it_IT@euro. the problem i think was vim misrecognized the file as not utf8: as soon i saved it with fileencoding=utf-8, it began to work as expected; i changed anyway LANG to match the other environment vars i'm now committing the changes to help_mp-it.h, see pls if now it's ok
i did the commit, and the file now seems to be again jammed, wtf.....? after the svn it changed size and encoding it seems, and 'file' doesn't recognize it as utf8 as before............. is it possible? is it my fault in some way?
On Fri, Jul 18, 2008 at 10:27:48AM +0200, Paul TT wrote:
On Mon, 14 Jul 2008 23:27:26 +0200 Diego Biurrun <diego@biurrun.de> wrote:
On Mon, Jul 14, 2008 at 12:32:07PM +0200, Paul TT wrote:
On Wed, 9 Jul 2008 17:25:26 +0200 Diego Biurrun <diego@biurrun.de> wrote:
Fix your system to be UTF-8. It's high time, we've been in the 21st century for some time now.. :)
ehehehe you're right. apparently i am, but may be something i did wrong in some place...
What is your locale? What settings do you have on the console for LANG, LC_ALL and similar? What distro are you running?
I had it_IT.UTF-8@euro for everything but not LANG, which was it_IT@euro.
There you have it, this is not an UTF-8 locale. Reconfigure your system to use a UTF-8 locale like it_IT.UTF-8. On your Debian system you could run dpkg-reconfigure locales and make sure that the right one shows up in /etc/default/locale. Also set shell variables like LANG and LC_ALL to this value. Diego
On Fri, Jul 18, 2008 at 08:19:27PM +0200, Diego Biurrun wrote:
On Fri, Jul 18, 2008 at 10:27:48AM +0200, Paul TT wrote:
On Mon, 14 Jul 2008 23:27:26 +0200 Diego Biurrun <diego@biurrun.de> wrote:
On Mon, Jul 14, 2008 at 12:32:07PM +0200, Paul TT wrote:
On Wed, 9 Jul 2008 17:25:26 +0200 Diego Biurrun <diego@biurrun.de> wrote:
Fix your system to be UTF-8. It's high time, we've been in the 21st century for some time now.. :)
ehehehe you're right. apparently i am, but may be something i did wrong in some place...
What is your locale? What settings do you have on the console for LANG, LC_ALL and similar? What distro are you running?
I had it_IT.UTF-8@euro for everything but not LANG, which was it_IT@euro.
There you have it, this is not an UTF-8 locale. Reconfigure your system to use a UTF-8 locale like it_IT.UTF-8. On your Debian system you could run dpkg-reconfigure locales and make sure that the right one shows up in /etc/default/locale. Also set shell variables like LANG and LC_ALL to this value.
What is the status here? If this does not get fixed, I will revert the file to the last UTF-8 version. Diego
On Wed, 30 Jul 2008 13:56:31 +0200 Diego Biurrun <diego@biurrun.de> wrote: ....
I had it_IT.UTF-8@euro for everything but not LANG, which was it_IT@euro.
There you have it, this is not an UTF-8 locale. Reconfigure your system to use a UTF-8 locale like it_IT.UTF-8. On your Debian system you could run dpkg-reconfigure locales and make sure that the right one shows up in /etc/default/locale. Also set shell variables like LANG and LC_ALL to this value.
What is the status here? If this does not get fixed, I will revert the file to the last UTF-8 version.
it should have been fixed anyway when i svn update it, then file doesn't recognize it again as utf-8. but when i do the commit it is _indeed_ utf-8 can you -or someone else- check if its' really utf'ed in the repo. now my machine it's ok, after the reinstallation LANG was left as above, now it's all ok.
On Fri, 1 Aug 2008 01:39:20 +0200 Paul TT <mplayer@paultt.org> wrote: .....
but when i do the commit it is _indeed_ utf-8 can you -or someone else- check if its' really utf'ed in the repo.
...or if you prefer, you can reupload iti in utf, and i'll redo my changes, i have anyway the file saved, it's not a problem
On Fri, Aug 01, 2008 at 01:39:20AM +0200, Paul TT wrote:
On Wed, 30 Jul 2008 13:56:31 +0200 Diego Biurrun <diego@biurrun.de> wrote:
....
I had it_IT.UTF-8@euro for everything but not LANG, which was it_IT@euro.
There you have it, this is not an UTF-8 locale. Reconfigure your system to use a UTF-8 locale like it_IT.UTF-8. On your Debian system you could run dpkg-reconfigure locales and make sure that the right one shows up in /etc/default/locale. Also set shell variables like LANG and LC_ALL to this value.
What is the status here? If this does not get fixed, I will revert the file to the last UTF-8 version.
it should have been fixed
It is not fixed.
anyway when i svn update it, then file doesn't recognize it again as utf-8. but when i do the commit it is _indeed_ utf-8
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?
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
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? Diego
On Fri, 1 Aug 2008 18:26:33 +0200 Diego Biurrun <diego@biurrun.de> wrote:
On Fri, Aug 01, 2008 at 01:39:20AM +0200, Paul TT wrote:
On Wed, 30 Jul 2008 13:56:31 +0200 Diego Biurrun <diego@biurrun.de> wrote:
....
I had it_IT.UTF-8@euro for everything but not LANG, which was it_IT@euro.
There you have it, this is not an UTF-8 locale. Reconfigure your system to use a UTF-8 locale like it_IT.UTF-8. On your Debian system you could run dpkg-reconfigure locales and make sure that the right one shows up in /etc/default/locale. Also set shell variables like LANG and LC_ALL to this value.
What is the status here? If this does not get fixed, I will revert the file to the last UTF-8 version.
it should have been fixed
It is not fixed.
sigh :(
anyway when i svn update it, then file doesn't recognize it again as utf-8. but when i do the commit it is _indeed_ utf-8
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@euro € echo $LC_ALL it_IT.UTF-8@euro € cat /etc/default/locale LANG=it_IT.UTF-8
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@euro
€ echo $LC_ALL it_IT.UTF-8@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
On Mon, 4 Aug 2008 11:46:26 +0200 Nico Sabbi <Nicola.Sabbi@poste.it> wrote: ..
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
thanx, i didn't know this trick i did it and it seems ok
On Mon, 4 Aug 2008 11:46:26 +0200 Nico Sabbi <Nicola.Sabbi@poste.it> wrote: ....
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
just that i'm on it, mplayer.1 man page should be in utf-8 too? if yes, now it's not do i have to converti it too? Paul
On Mon, Aug 04, 2008 at 12:24:20PM +0200, Paul TT wrote:
just that i'm on it, mplayer.1 man page should be in utf-8 too?
No, we haven't switched man pages to UTF-8 yet due to braindead *roff implementations on current systems that still cannot handle UTF-8 input :-( Diego
On Mon, Aug 04, 2008 at 11:33:32AM +0200, Paul TT wrote:
On Fri, 1 Aug 2008 18:26:33 +0200 Diego Biurrun <diego@biurrun.de> wrote:
On Fri, Aug 01, 2008 at 01:39:20AM +0200, Paul TT wrote:
anyway when i svn update it, then file doesn't recognize it again as utf-8. but when i do the commit it is _indeed_ utf-8
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.
vim should not display [converted] for a correct UTF-8 file.
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
The problem is finally solved now after your last commit.
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@euro
€ echo $LC_ALL it_IT.UTF-8@euro
€ cat /etc/default/locale LANG=it_IT.UTF-8
This is (at least part of) the problem. Like I told you before, it_IT.UTF-8@euro is not the correct locale, it_IT.UTF-8 is. IIUC it_IT.UTF-8@euro is not even a valid locale. Switch your system to it_IT.UTF-8 for good. You have the correct locale set globally, so probably somewhere in your .bashrc a different setting overrides it. All the LC_* variables should have the correct value, you can check with 'set'. Diego
participants (3)
-
Diego Biurrun -
Nico Sabbi -
Paul TT