Change default browser encoding

595 views
Skip to first unread message

ASP

unread,
May 17, 2007, 3:57:57 PM5/17/07
to selenium-users...@googlegroups.com
Hi!

I have been trying to get Selenium to start up a browser with the Character encoding set to UTF-8 in IE. However, it always defaults to Western European (ISO). Is there any way that I could specify the character encoding and set it as UTF-8? Note that this only happens with an IE browser started up by Selenium. The browser on my machine already has encoding set to UTF-8. This surprised me too, since I assumed that Selenium would just pick up the settings of the local machine IE.

Thanks,
ASP

P.S: I am trying to run tests in which UTF-8 is the required charset encoding

Message was edited by: asp

David Burns

unread,
May 18, 2007, 3:08:29 AM5/18/07
to selenium-users...@googlegroups.com
Could you not cheat and get the developers to make the pages use UTF-8 charset?

< meta http-equiv = "content - type" content="text/html; charset=UTF-8 " > and then running the tests as normal?

David

Reply all
Reply to author
Forward
0 new messages