Re: How deal with the coding

2011-04-21 Thread MRAB
On 21/04/2011 07:27, 1011_wxy wrote: Dear All: I got a coding problem when I use python to read html from web which is encode with gb2312, ater I insert the data I read from web into Oracle DB with coding gbk, I found messy code by select from PL/SQL. I tried the way ".encode('gbk','ignore')" bef

How deal with the coding

2011-04-21 Thread 1011_wxy
Dear All: I got a coding problem when I use python to read html from web which is encode with gb2312, ater I insert the data I read from web into Oracle DB with coding gbk, I found messy code by select from PL/SQL. I tried the way ".encode('gbk','ignore')" before insert Oracle by using cx_Oracle