LoadRunner回放脚本时中文字符乱码的问题解决
将参数中的UTF-8编码转换为当前系统的编码,最后将内容存入参数productname中,
实例:
lr_convert_string_encoding(
lr_eval_string("{ChineseName}")
,LR_ENC_UTF8 ,LR_ENC_SYSTEM_LOCALE,"productname"
);
点击看大图 http://service.photo.sina.com.cn/show_mop.php?type=orignal&pic_id=69666504gbfcc717f4e63&pm=1&v=690
点击看大图 http://service.photo.sina.com.cn/show_mop.php?type=orignal&pic_id=69666504gbfcc717f4e63&pm=1&v=690
