Re: Tk 8.4.11 / Windows XP / Encoding problem
- From: schlenk <schlenk@xxxxxxxxxxxxxxxx>
- Date: Tue, 16 Jun 2009 03:04:01 -0700 (PDT)
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
.
- Follow-Ups:
- Re: Tk 8.4.11 / Windows XP / Encoding problem
- From: Roger Niva
- Re: Tk 8.4.11 / Windows XP / Encoding problem
- References:
- Tk 8.4.11 / Windows XP / Encoding problem
- From: Roger Niva
- Tk 8.4.11 / Windows XP / Encoding problem
- Prev by Date: Re: need help in finding a regular pattern for matching XI followed by number/numbers
- Next by Date: Re: Tk 8.4.11 / Windows XP / Encoding problem
- Previous by thread: Tk 8.4.11 / Windows XP / Encoding problem
- Next by thread: Re: Tk 8.4.11 / Windows XP / Encoding problem
- Index(es):
Relevant Pages
|