Re: DRF UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6

2019-11-20 Thread Aldian Fazrihady
I guess texts in your database is encoded using other than UTF-8. Please change `getline(self.filename, ..)` to `getline(self.filename.decode('utf-16'), ..` On Mon, Oct 21, 2019 at 7:48 PM Kerstin Rohm < kerstin.r...@ibmt.fraunhofer.de> wrote: > Dear Django Community, > > > we have a curious enc

Re: DRF UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6

2019-11-20 Thread Sarah Werker
On Monday, October 21, 2019 at 8:49:02 AM UTC-4, Kerstin Rohm wrote: > Dear Django Community, > > I think you should call me at 574-217-1330 or text and we can discuss it > > > we have a curious encoding error and we are running out of ideas to > solve the problem. > > > We build a Django REST