Another shot in the dark: Do your html headers specify the right encoding?
--Tim -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Aguilar Sent: dinsdag 7 februari 2006 18:46 To: [email protected] Subject: Re: How to use non English characters in templates Just a shot in the dark, but is your database set for UTF-8? It may be that the text isn't being saved as international in the database, so when you retrieve it, it's just plain ascii. Here is a list of character sets supported: http://www.postgresql.org/docs/8.1/interactive/multibyte.html and you can specify the character encoding when creating the database: http://www.postgresql.org/files/documentation/books/pghandbuch/html/sql- createdatabase.html -berto. On 2/7/06, PythonistL <[EMAIL PROTECTED]> wrote: > > Hello , > In my model I use fields that can have a string of non-English > characters. > To explain: > I use choices option in my model definition like this: > > Kraj = meta.CharField(choices=Krajlist,maxlength=20,blank=True) > > where Krajlist consists the non-English characters. > > So, I fill in the correct ( non English characters) values in Krajlist > and it looks correct in my editor.But when I use the variable > {{form.Kraj}} in my template, the characters in a view, are not > correct. > Where is a problem? > Thank you for help > L. > >

