girleffect / chhaajaa

3 stars 3 forks source link

Text from other languages or normal strings are getting dropped #22

Open simplyshravan opened 2 years ago

simplyshravan commented 2 years ago

Below is the line which is causing issue. It need code change

https://github.com/girleffect/chhaajaa/blob/9597f1a93fb9e52c6e2a590c403cc7be520604a0/rapidpro/api/rapidpro/requests/rpp_ftbl_msgs_msg.py#L30

simplyshravan commented 2 years ago

As I debug the issue , python by default creates the string columns with varchar(256). while inserting data which is having more characters than 256 , the insert statement is failing. Handled this varchar(256) in helpers/connector.py file. Now no need to decode the text in this file. So removing it.