I am trying to create a report from database data. While in my local database I have no problems, when I run it in prod I am getting this error 'ascii' codec can't decode byte 0xe9 in position 5: ordinal not in range(128)
My database has utf8_general encoding both in my local database and in my prod database, so I don't understand what the problem is. My data is in spanish so this error is thrown when it finds special characters (á, é, í...)
EDIT: I checked the results in both test and prod. To give an example, this is how the result is showing:
Test: almacén y farmacia
Prod: almac\xe9n y farmacia