Open aman918raj opened 4 years ago
Need help quickly...
I'm sorry I haven't responded until now. I hope you have found a solution to your problem. If not let me know and I'll try to help you.
DBF files with UTF-8 encoding are rare so I suspect the file is using another 8-bit encoding.
UnicodeEncodeError: 'utf-8' codec can't encode characters. This error is coming when i am using utf-8 encoding. The file is having value like below: ABCâ XYZ 123 dbf = DBF(input_path, encoding="utf-8")
When i used encoding="iso-8859-1" then i am not getting an error but its getting converted to ABCÂ XYZ 123 dbf = DBF(input_path, encoding="iso-8859-1")