Skip Menu |

This queue is for tickets about the Win32-GuiTest CPAN distribution.

Report information
The Basics
Id: 29802
Status: resolved
Priority: 0/
Queue: Win32-GuiTest

People
Owner: Nobody in particular
Requestors: alexnchavez_2006 [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.50.1-ad
  • 1.50.2-ad
  • 1.50.3-ad
  • 1.51
  • 1_50.5
Fixed in: (no value)



Subject: Unicode/UTF-8 characters not supported
Dist Ver/Name Win32::GuiTest v1.50.5 Perl Dist: perl, v5.8.8 built for MSWin32-x86-multi-thread Operating Systems : Microsoft Windows XP Home/Professional Service Pack 2 in the following languages...English, Italian,Portuguese, Brazilian Portuguese,Czech (this is where i found the problem), Danish, Dutch,Finnish, French, German, Norwegian, Polish, Korean, Traditional Chinese, Simplified Chinese, Japanese, Thai, Hungarian,Russian, Swedish Summary: Unicode and UTF-8 characters not supported. Result: When using characters such as č,Č,ř,ž,š,ě,ø,ť and similar in european languages and unicode characters in asian languages with WaitWindow,WaitWindowLike, FindWindowLike, SendKeys, PushButton, PushChildButton and PushChildById or other functions which ask for text of a button or window title, these items cannot be found on the window. Expected: Unicode characters, UTF-8, UTF-16 (Big/Little Endian) should be properly detected on all languages for window titles and buttons for all native operating system languages, returning the correct window handles and ids. Other notes: All of my files, scripts, xml files which hold my localized text strings are all UTF-8 encoded, no error messages were thrown, only the window was not found. Code/Info: Directly in my UTF-8 encoded perl script the following works, so i know it is not my perl distribution causing it... my @char = ("š","Č","č","ý","ž"); foreach my $char(@char){ print "Character: $char\n"; if($char=~/š|Č|č|ý|ž/){ print "Able to recognize!\n"; }else{ print "Cannot recognize!\n"; } } But when these characters are used in the above mentioned functions that is in a window title or button name, they cannot be found, no error, just no window found or handle returned, or button pressed. Sample: In a Win32 program make the title have the following "Česká republika aktuálně", just for sample text, then run the function FindWindowLike looking for one of the characters mentioned, it will not return the window in which the text resides.
Fixed in 1.53, except SendKeys. The problem with SendKeys is that the win32 keyboard input does not operate on characters, but on scan codes and virtual keys. Also, win32 does not allow for direct unicode input in non-wide window classes, so emulation via ALT+NUMPAD character entry won't work on these.
Subject: Re: [rt.cpan.org #29802] Resolved: Unicode/UTF-8 characters not supported
Date: Mon, 19 Nov 2007 19:45:54 -0800 (PST)
To: bug-Win32-GuiTest [...] rt.cpan.org
From: Alexander Chavez <alexnchavez_2006 [...] yahoo.com>
I was wondering do you have an interface for looking only at windows within a particular process, id like to only look into a particular executable (app.exe) that is running and find text or windows from that process, i am currently having some difficulty searching for Traditional Chinese Characters in a window of a process, something is triggering the start button in the windows taskbar to be pressed instead. Thanks. Show quoted text
----- Original Message ---- From: via RT <bug-Win32-GuiTest@rt.cpan.org> To: alexnchavez_2006@yahoo.com Sent: Saturday, October 6, 2007 4:47:49 AM Subject: [rt.cpan.org #29802] Resolved: Unicode/UTF-8 characters not supported <URL: http://rt.cpan.org/Ticket/Display.html?id=29802 > According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message.
____________________________________________________________________________________ Get easy, one-click access to your favorites. Make Yahoo! your homepage. http://www.yahoo.com/r/hs
From: KARASIK [...] cpan.org
I was wondering how exactly that question is related to "Unicode/UTF-8 characters not supported" and how it is a bug report. On Mon Nov 19 22:46:14 2007, alexnchavez wrote: Show quoted text
> I was wondering do you have an interface for looking only at windows > within a particular process, id like to only look into a particular > executable (app.exe) that is running and find text or windows from > that process, i am currently having some difficulty searching for > Traditional Chinese Characters in a window of a process, something > is triggering the start button in the windows taskbar to be pressed > instead. > > Thanks. > > ----- Original Message ---- > From: via RT <bug-Win32-GuiTest@rt.cpan.org> > To: alexnchavez_2006@yahoo.com > Sent: Saturday, October 6, 2007 4:47:49 AM > Subject: [rt.cpan.org #29802] Resolved: Unicode/UTF-8 characters not > supported > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=29802 > > > According to our records, your request has been resolved. If you have > any > further questions or concerns, please respond to this message. > > > > > > >
Show quoted text
____________________________________________________________________________________
> Get easy, one-click access to your favorites. > Make Yahoo! your homepage. > http://www.yahoo.com/r/hs
wrong thread
Subject: Re: [rt.cpan.org #29802] Unicode/UTF-8 characters not supported
Date: Tue, 20 Nov 2007 15:12:47 -0800 (PST)
To: bug-Win32-GuiTest [...] rt.cpan.org
From: Alexander Chavez <alexnchavez_2006 [...] yahoo.com>
I was only reply to the email that i was sent from the cpan site, because it says "If you have any further questions or concerns, please respond to this message", this is my further question, i orginally wrote the bug for Unicode/UTF-8 characters. I was simply asking an additional question to the developer as it says in the email i receive from CPAN. And although not directly related it is indirectly related, i am not sure its a bug or not, for my problem, i am having some trouble finding window titles in a Asian Character Sets (Unicode/UTF-8 related) as in Chinese Simplified/Traditional, Japanese and Thai, my question here is really, if i have a process say "program.exe" can i search or will you later be implementing such a feature that will allow me to only look at windows within the "program.exe" process. This is no way was intended as a bug report, but simply replying to the email i received with further questions. Thanks -Alex Show quoted text
----- Original Message ---- From: via RT <bug-Win32-GuiTest@rt.cpan.org> To: alexnchavez_2006@yahoo.com Sent: Monday, November 19, 2007 11:44:16 PM Subject: [rt.cpan.org #29802] Unicode/UTF-8 characters not supported <URL: http://rt.cpan.org/Ticket/Display.html?id=29802 > I was wondering how exactly that question is related to "Unicode/UTF-8 characters not supported" and how it is a bug report. On Mon Nov 19 22:46:14 2007, alexnchavez wrote:
> I was wondering do you have an interface for looking only at windows > within a particular process, id like to only look into a
particular
> executable (app.exe) that is running and find text or windows from > that process, i am currently having some difficulty searching for > Traditional Chinese Characters in a window of a process, something > is triggering the start button in the windows taskbar to be
pressed
> instead. > > Thanks. > > ----- Original Message ---- > From: via RT <bug-Win32-GuiTest@rt.cpan.org> > To: alexnchavez_2006@yahoo.com > Sent: Saturday, October 6, 2007 4:47:49 AM > Subject: [rt.cpan.org #29802] Resolved: Unicode/UTF-8 characters not > supported > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=29802 > > > According to our records, your request has been resolved. If you have > any > further questions or concerns, please respond to this message. > > > > > > >
____________________________________________________________________________________
> Get easy, one-click access to your favorites. > Make Yahoo! your homepage. > http://www.yahoo.com/r/hs
____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
please do not reply because the ticket will be reopened