Re: UnicodeDecodeError in template rendering

2007-08-18 Thread Malcolm Tredinnick
On Sat, 2007-08-18 at 22:46 +, cesco wrote: > Hi, > > I'm using sqlite3 as db for my django project. > In order to load the data in the db I first generated a unicode string > (which contains danish characters "ø, æ, å") and dumped such a string > to a file (in json format) as follows: > f_hd

Re: UnicodeDecodeError in template rendering

2007-08-18 Thread Kai Kuehne
Hi, On 8/19/07, cesco <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using sqlite3 as db for my django project. > In order to load the data in the db I first generated a unicode string > (which contains danish characters "ø, æ, å") and dumped such a string > to a file (in json format) as follows: > f

UnicodeDecodeError in template rendering

2007-08-18 Thread cesco
Hi, I'm using sqlite3 as db for my django project. In order to load the data in the db I first generated a unicode string (which contains danish characters "ø, æ, å") and dumped such a string to a file (in json format) as follows: f_hdl = file(json_offers_path, 'w') f_hdl.write(offer_entry.encode