Linux: Wrong symbols appears when typing from keyboard in any chat windows

Bug #275020 reported by Alexander Frolushkin
6
Affects Status Importance Assigned to Milestone
Coccinella
Fix Released
Medium
sander

Bug Description

I'm using russian language to communicate in jabber, and can't really use coccinella, at last in Ubuntu Linux, because when I'm typing texts from keyboard I'm getting such symbols - "п╬я┬п╦п╠п╨п╟" for example, instead of "ошибка".
This only happens when typing directly from keyboard and do not affect clipboard copy pasting.

Revision history for this message
Alexander Frolushkin (hokum) wrote :
Revision history for this message
formix (fspamers) wrote :

I have similar problem with the Russian language in Windows XP Rus.
I am typing texts from keyboard I am getting such symbols - "ùøèáêà" for example, instead of "ошибка". This is wrong. When I typing from clipboard do not affect.

Revision history for this message
Alexander Frolushkin (hokum) wrote :

Also, this problem not a chat window-only related, all input fields affected

Revision history for this message
sander (s-devrieze) wrote :

Which Coccinella version are you using? Which distribution are you using? What is your platform?

Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Medium
Revision history for this message
Alexander Frolushkin (hokum) wrote :

I'm (not- because can't type in my native layout) using version 0.96.10 on Ubuntu Linux.
But almost the same problem formix obtains in WinXP.

Revision history for this message
sander (s-devrieze) wrote :

Are you using the package from getdeb.net, the Linux binary we distribute ourselves at our website, or the source version? Can you also try on both Linux and Windows whether or not the previous 0.96.8 version works correctly?: http://sourceforge.net/project/showfiles.php?group_id=68334&package_id=66855&release_id=595985

Revision history for this message
Alexander Frolushkin (hokum) wrote :

This bug report was about package from getdeb.net installed under Ubuntu 8.04 Hardy Heron 64 bit.
Unfortunately, I have no Windows to test it under it.
Now I'm under Ubuntu 8.10 64 bit Beta:
0.96.10 binary from your site and from getdeb.net do Segmentation fault for me ,
0.96.8 binary from your site do the same wrong symbols in input fields as described in this bug.
Can't test sources, it says I don't have tkpng package (libtk-img installed) and not starting.

Revision history for this message
Alexander Frolushkin (hokum) wrote :

Well, friend did the tests under windows.
Binary from official site.
0.96.10 shows wrong symbols, like in formix picture.
0.96.8 shows symbols correctly!

Revision history for this message
sander (s-devrieze) wrote :

Can you try the source distribution of Coccinella 0.96.10 on Windows with the official full Tcl/Tk distribution?: http://downloads.activestate.com/ActiveTcl/Windows/8.5.4/ActiveTcl8.5.4.0.286921-win32-ix86-threaded.exe (18.1MB)

Instructions are here: http://thecoccinella.org/node/84

It's probably this what is causing this: http://www.equi4.com/tclkit/unicode.html

When this works, can you also try to download tclkit 8.5.2 for Windows (Gui version, probably 32b version for your system): http://www.equi4.com/tclkit/download.html

Then execute this binary and open Coccinella.tcl of the Coccinella 0.96.10 source distribution.

If that does not work, you also can try the latest tclkit version for Windows from http://www.patthoyts.tk/tclkit/

Also, if possible you should test this version: http://coccinella.sourceforge.net/tclkits/tclkit-coci.upx.exe (chances are high this version will work, but I'm not 100% sure)

PS1: the reason why I'm asking to do all these tests is because I don't have Windows available for testing (only Mats has Windows)

PS2: is any of you interested in updating the Russian translation of Coccinella? It would be cool to see that translation a bit more up to date: http://coccinella.im/translate-0.96.10

Revision history for this message
Alexander Frolushkin (hokum) wrote :

Well, while running from sources under Linux russian characters input works correctly. So, this is bug in binary assembly. Have You any plans to put Coccinella to Rosetta translation system on Launchpad? And, could Coccinella packeage appear in Ubuntu repos soon?

Revision history for this message
sander (s-devrieze) wrote :

Yes, I believe the distributed tclkit does not support the required encodings: http://www.equi4.com/tclkit/unicode.html

Can your friend test the source distribution of Coccinella 0.96.10 under Windows using the http://coccinella.sourceforge.net/tclkits/tclkit-coci.upx.exe tclkit version as noted in my previous post (instructions: http://thecoccinella.org/node/84 ). If that testing is positive, I can create a new Coccinella binary for Windows that should work correctly.

* Have You any plans to put Coccinella to Rosetta translation system on Launchpad?

Tcl does not uses gettext for translation. Rosetta requires gettext input. So, it's probably not something we can add soon.

* And, could Coccinella packeage appear in Ubuntu repos soon?

Ask Ubuntu people: Bug #238612

Revision history for this message
Alexander Frolushkin (hokum) wrote :

Well, I hope we will test this soon.
And, about Linux binaries. I build custom tclkit8.5 with all encodings from my Tcl8.5 - but
Sources-Coccinella launched from tclkit8.5 still shows wrong symbols, while launched from tclsh8.5 or wish8.5 shows everything fine... Have any guess - why it can be so?

Revision history for this message
sander (s-devrieze) wrote :

Does "encoding names" (see tclkit page about encodings) shows you the encoding that is needed for Cyrillic? Maybe you should repeat this command for tclsh8.5 and wish8.5 to see whether there are differences in the available encodings.

Revision history for this message
Alexander Frolushkin (hokum) wrote :

Yes, "encoding names" command shows the same encodings for tclsh8.5 and for tclkit8.5
There is some posts in Internet about different model of working with encodings in tclsh and tclkit - for example http://groups.google.ru/group/comp.lang.tcl/browse_thread/thread/ba74f4fef7bdb12a/6f51fde1a6f63766?q=tclkit+tclsh&rnum=2#6f51fde1a6f63766

Could it be because of it?
Anyway, if 0.96.8 for Windows works fine, this must be not code problem, but tclkit problem...

Revision history for this message
sander (s-devrieze) wrote :

Anyway, if 0.96.8 for Windows works fine, this must be not code problem, but tclkit problem...

Can you try 0.96.10 on Windows with http://coccinella.sourceforge.net/tclkits/tclkit-coci.upx.exe ?

Revision history for this message
Alexander Frolushkin (hokum) wrote :

No, its not working, given link bring us to tclkit-coci.upx.exe version 8.4.1. 0.96.10 needs tcl version 8.5

Revision history for this message
sander (s-devrieze) wrote :

Can you try the same with the following tclkits and report about them whether or not they work correctly?:
1) http://coccinella.sourceforge.net/tclkits/msvc7-85.zip
2) http://coccinella.sourceforge.net/tclkits/msvc6-85-coci.zip (I guess this one has the best chance to work correctly)
3) http://coccinella.sourceforge.net/tclkits/msvc6-85.zip

Revision history for this message
Alexander Frolushkin (hokum) wrote :

Sorry, it is required tkpng lib for Windows, and I dont know how to get it binary for Windows.
Maybe, It included in some tcl windows packages? I dont have much experience in Windows and can't build it from source there.

Revision history for this message
Alexander Frolushkin (hokum) wrote :

Ok, after installing ActiveTCL with tkpng and checking all of this kits:
1) http://coccinella.sourceforge.net/tclkits/msvc7-85.zip
2) http://coccinella.sourceforge.net/tclkits/msvc6-85-coci.zip
3) http://coccinella.sourceforge.net/tclkits/msvc6-85.zip

we get a disappointingly results. All three kits gives wrong typing characters. Exactly like my own tclkit buld on linux with all enabled encodings.

Revision history for this message
sander (s-devrieze) wrote :

Can someone with a Cyrillic Windows test the latest daily build on all platforms?
http://coccinella.im/breakfast/

Revision history for this message
rain (linuxoid-rain) wrote :

Tested current daily build on Debian Lenny i386 - all ok both on binary and source packages.

Revision history for this message
formix (fspamers) wrote :

Coccinella_Messenger-0.96.11Win.zip tested on Windows XP, all ok. Cyrillic symbol work normally. :)

sander (s-devrieze)
Changed in coccinella:
assignee: matsben → s-devrieze
milestone: none → 0.96.12
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.