SeldomQA / seldom

Seldom automation testing framework based on unittest

Home Page:https://seldomqa.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

【问题】连接SQL Server数据库,建议加个charset="cp936"的定义,不能设置,查询出来的中文内容是乱码的

792817377 opened this issue · comments

连接SQL Server数据库,建议加个类似charset="cp936"的定义,不能设置,查询出来的中文内容是乱码的
类似:
self.conn = pymssql.connect(host=self.host, user=self.user, password=self.pwd, database=self.db, charset="cp936")
image