UnicodeDecodeError: 'utf8' codec can't decode byte 0xd6 in position 223RF 2.7.6 & Telnet
*** Settings ***
Variables telnet_variables.py
Library Telnet
*** Test Cases ***
ATesting
open connection ${HOST} port=${PORT}
login ${USERNAME} ${PASSWORD}
Starting test: Telnet.Test Login.ATesting
20130218 16:15:32.425 : INFO : Opening connection to 10.194.129.207:2080 with prompt: None
20130218 16:15:33.559 : FAIL : UnicodeDecodeError: 'utf8' codec can't decode byte 0xd6 in position 223: invalid continuation byte
Ending test: Telnet.Test Login.ATesting
http://en.wikipedia.org/wiki/CJK
CJK character encodings should consist minimally of Han characters plus language-specific phonetic scripts such as pinyin, bopomofo, hiragana, katakana and hangul.
CJK character encodings include:
Big5
EUC-JP
EUC-KR
GB18030 (mandated standard in the People's Republic of China)
GB2312 (subset and predecessor of GB18030)
ISO 2022-JP
KS C 5861
Shift-JIS
Unicode encodings
*** Settings ***
Library Telnet
*** Test Cases ***
Open Connection
${index} = Open Connection 10.194.129.207 port=2080 prompt=$ encoding=GB18030 # encoding=GB2312 can work base win7 64bit Chinese/ server redflag
Should Be Equal ${index} ${1}
Log ${1}
Login gxhterm gxhterm