ramccor / logkeys

Automatically exported from code.google.com/p/logkeys
Other
0 stars 0 forks source link

Can't recognize it_IT.UTF-8 #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
$ sudo logkeys --start --output test.log
logkeys: LC_CTYPE locale must be of UTF-8 type
$ locale
LANG=it_IT.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=

What version of the product are you using (`logkeys --help`)? 0.1.1a
On what operating system? Debian Squeeze

Original issue reported on code.google.com by anna.sta...@gmail.com on 13 Jul 2010 at 11:05

GoogleCodeExporter commented 9 years ago
OMG, these bugs indeed do happen. :/

Yeah, there was an error in how conditions were evaluated when determining 
UTF-8.
before: 
http://code.google.com/p/logkeys/source/browse/trunk/src/logkeys.cc?r=67#88
 after: http://code.google.com/p/logkeys/source/browse/trunk/src/logkeys.cc?r=68#88

Please download the latest file revision (r68) here:
http://logkeys.googlecode.com/svn-history/r68/trunk/src/logkeys.cc
Replace the original src/logkeys.cc that came with the archive, compile and run.

Please drop a note if it works now.

Thank you very much for this report, Anna. :)

Original comment by kernc...@gmail.com on 13 Jul 2010 at 4:01

GoogleCodeExporter commented 9 years ago
now it's ok. Tnk for fixing!

Original comment by lamares...@gmail.com on 13 Jul 2010 at 5:39