Re: Tk 8.4.11 / Windows XP / Encoding problem



On Jun 16, 11:37 am, Roger Niva <ro...@xxxxxxxxxx> wrote:
Hi.

Some of our clients are experiencing a weird problem on their Windows XP PCs.
Our Tcl/Tk software uses "encoding system utf-8", which works beautifully on
99.9% of all PCs, but on a very few of them the entry/text widgets go haywire.
On the troubled PCs, the input fields can work just fine for a while and then
suddenly they start showing other characters instead of the correct utf-8
characters. When this happens it will only affect the input fields. The labels
and textareas which the program itself fills in are ok.

The problem first started popping up here and there around January this year.
Before this, I don't think we had a single case of this problem.

I recently tried to connect to one such PC using TeamViewer(Remote Desktop,
like VNC, PCAnywhere, etc) and the problem went away while I was connected. I
disconnected and the problem was back.

The PC in question that I looked at was a Dell with Windows XP and service pack
3 installed. It was brand new running anti-virus software and was firewalled,
so I doubt a virus has infected it, although you can never be 100% sure about
those things.

I checked the region/keyboard settings and they were clean(only 1 active and
that was the correct one). I also checked to see if the encoding in our
software was wrong, but it reported "utf-8" as it should.

One of our clients also reports that if you add a new user in Windows, it will
work fine for that user for a while and then the problem will be back for that
user, as well.

This does not feel like a Tcl/Tk problem, but I'm hoping someone has come
across this problem before or might share some insight/idea about how to
proceed to figure it out. I have tried looking around, but finding the right
search phrase which will yield me an answer to this slippery problem has so far
eluded me.

--
Vennlig hilsen,
[ Roger Niva / Bibliotek-Systemer As             ]

Using encoding system to change the system encoding is nearly always a
bug. Tcl usually does proper detection of the system encoding.

Why are you doing that?

Michael
.



Relevant Pages

  • Re: Tk 8.4.11 / Windows XP / Encoding problem
    ... Some of our clients are experiencing a weird problem on their Windows XP PCs. ... suddenly they start showing other characters instead of the correct utf-8 ... Tcl usually does proper detection of the system encoding. ...
    (comp.lang.tcl)
  • Re: Tk 8.4.11 / Windows XP / Encoding problem
    ... Some of our clients are experiencing a weird problem on their Windows XP PCs. ... When this happens it will only affect the input fields. ... Tcl usually does proper detection of the system encoding. ...
    (comp.lang.tcl)
  • Re: Tk 8.4.11 / Windows XP / Encoding problem
    ... Some of our clients are experiencing a weird problem on their Windows XP PCs. ... but it reported "utf-8" as it should. ... Tcl usually does proper detection of the system encoding. ...
    (comp.lang.tcl)
  • Re: Are these Windows XP clients beyond hope?
    ... > Neil Trotter wrote: ... >> All machines are keeping good time except 2 of the windows XP clients ... > and it seems stable even when running Windows Media Player or Real Player ... They are "standard" PCs, specs follow. ...
    (comp.protocols.time.ntp)
  • Re: Tk 8.4.11 / Windows XP / Encoding problem
    ... Some of our clients are experiencing a weird problem on their Windows XP PCs. ... but it reported "utf-8" as it should. ... Tcl usually does proper detection of the system encoding. ...
    (comp.lang.tcl)