Re: Started porting UDD to Python3 (Was: [UDD] Is there some effort to port UDD to Python3?)

2020-05-15 Thread Stéphane Blondon
On 14/05/2020 21:25, Mattia Rizzolo wrote: > And, ideally, somebody would contact whoever is providing that file so that > they re-encode it with utf8... Yes, it's the best long term solution. > On Thu, 14 May 2020, 9:16 pm Stéphane Blondon, > wrote: >> >> `f = open(trfile, encoding='latin-1')`

Re: Started porting UDD to Python3 (Was: [UDD] Is there some effort to port UDD to Python3?)

2020-05-15 Thread Andreas Tille
On Fri, May 15, 2020 at 08:51:05PM +0200, Stéphane Blondon wrote: > > And, ideally, somebody would contact whoever is providing that file so that > > they re-encode it with utf8... > > Yes, it's the best long term solution. Definitely. But who is providing that file? > >> `f = open(trfile, enc