History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-474
Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Serik
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

Non-US-ASCII character sets don't work in PHP client

Created: 07/May/08 04:35 AM   Updated: Today 01:55 PM
Component/s: Server, Client Driver - PHP
Affects Version/s: 0.9.2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: OS: windows 2003 server


 Description  « Hide
when I perform command like $se->type("some cyrillic string") - it produces command with mojibake text

for example $se->type("русский") will produce "�������" in text field.

 All   Comments   Work Log   Change History      Sort Order:
Serik - 25/Jun/08 01:28 AM
any comments?

Andras Hatvani - 27/Aug/08 12:21 PM
Could you please try 1.0 beta 1 and/or the latest snapshot?
What do you see in the "Command History" part of the TestRunner frame/window: the correct letters or the special question marks?

Serik - 29/Aug/08 09:37 PM
I tried latest snapshot of selenium server.
the same problem.

PHP code:
    $se->type("//input[@name='text']", "русский");

from server log:
09:31:22.607 INFO - Command request: type[//input[@name='text'], ???????] on session 0d8ad072d3ff431f94a28011b433c08b
09:31:22.639 INFO - Got result: OK on session 0d8ad072d3ff431f94a28011b433c08b

from command-history:

type(//input[@name='text'], �������)

Jack Senechal - 04/Dec/08 01:55 PM
It works now. I tested using the nightly build download, retrieved today (4 Dec, 2008). I pasted the string "русский" into a PHPUnit test. The string shows up correctly in all places, including server log, browser, etc.

Tested under Ubuntu 8.10, FF3