Re: Django admin Chinese character problem.

2006-01-11 Thread Albert Lee
I have located the problem on the database: mysql.  and when I change to sqlite, it works prettyso , I think there should be something character setting matter with the mysql database( I have made the "set character set =utf8" in mysql shell.) 2006/1/11, Gábor Farkas <[EMAIL PROTECTED]>: Jeroen Rui

Re: Django admin Chinese character problem.

2006-01-11 Thread Gábor Farkas
Jeroen Ruigrok van der Werven wrote: For my Japanese<>Dutch dictionary project I didn't have to do anything fancy. Only thing I had added to my base template is: Nothing else is/was needed. i understand you. but the code mr. Gonsales quoted did not do anything with the webpage (at least i

Re: Django admin Chinese character problem.

2006-01-11 Thread Jeroen Ruigrok van der Werven
For my Japanese<>Dutch dictionary project I didn't have to do anything fancy. Only thing I had added to my base template is: Nothing else is/was needed. -- Jeroen Ruigrok van der Werven

Re: Django admin Chinese character problem.

2006-01-11 Thread Gábor Farkas
Kenneth Gonsalves wrote: On Wednesday 11 Jan 2006 7:18 pm, Gábor Farkas wrote: Kenneth Gonsalves wrote: On Wednesday 11 Jan 2006 5:46 pm, Gábor Farkas wrote: event = events.get_list()[0] title = event.title.decode('utf8') why do you need this? dont you set the utf8 in the tem

Re: Django admin Chinese character problem.

2006-01-11 Thread Kenneth Gonsalves
On Wednesday 11 Jan 2006 7:18 pm, Gábor Farkas wrote: > Kenneth Gonsalves wrote: > > On Wednesday 11 Jan 2006 5:46 pm, Gábor Farkas wrote: > >>event = events.get_list()[0] > >>title = event.title.decode('utf8') > > > > why do you need this? dont you set the utf8 in the > > template

Re: Django admin Chinese character problem.

2006-01-11 Thread Gábor Farkas
Kenneth Gonsalves wrote: On Wednesday 11 Jan 2006 5:46 pm, Gábor Farkas wrote: event = events.get_list()[0] title = event.title.decode('utf8') why do you need this? dont you set the utf8 in the template/webpage itself? ? :) if i want to work with the title, i HAVE TO de

Re: Django admin Chinese character problem.

2006-01-11 Thread Kenneth Gonsalves
On Wednesday 11 Jan 2006 5:46 pm, Gábor Farkas wrote: > event = events.get_list()[0] > title = event.title.decode('utf8') why do you need this? dont you set the utf8 in the template/webpage itself? -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.or

Re: Django admin Chinese character problem.

2006-01-11 Thread Gábor Farkas
Albert Lee wrote: I use uft-8 encoding, and in admin page, when I insert a record, the Chinese character will become ? hi, i am not sure what exactly are you trying to do, here is what i did as a quick test. my config: postgresql-8.0. database created as UNICODE (which in case of postgr

Django admin Chinese character problem.

2006-01-10 Thread Albert Lee
I use uft-8 encoding, and in admin page, when I insert a record, the Chinese character will become ?