Re: Useing non-ascii character in django

2014-11-09 Thread Hossein Rashnoo
Writing my code with linux editor cause the problem,I wrote that with notepad and save it as 'utf8' and my problem solved. On Saturday, November 8, 2014 11:49:10 AM UTC+3:30, Hossein Rashnoo wrote: > > When i return Persian characters in view.py (same as Arabic characters) i > got an error , So

Re: Useing non-ascii character in django

2014-11-08 Thread Aliane Abdelouahab
and dont forget to use an font that is unicode, using CSS3. Le samedi 8 novembre 2014 16:47:42 UTC+1, Aliane Abdelouahab a écrit : > > in your html you add > > > Le samedi 8 novembre 2014 09:19:10 UTC+1, Hossein Rashnoo a écrit : >> >> When i return Persian characters in view.py (same as Arabic c

Re: Useing non-ascii character in django

2014-11-08 Thread Aliane Abdelouahab
in your html you add Le samedi 8 novembre 2014 09:19:10 UTC+1, Hossein Rashnoo a écrit : > > When i return Persian characters in view.py (same as Arabic characters) i > got an error , So i add this line to top of view.py: > # encoding=utf-8 > > And now my Persian word is like this : > � > A