Re: coding in template

2015-11-09 Thread Dariusz Mysior
Thank's i set it in PyCharm on encoding utf-8 like You said and it's work!

W dniu sobota, 7 listopada 2015 21:44:25 UTC+1 użytkownik Dariusz Mysior 
napisał:
>
> I try use polish letters in my template index.html but I had an error
>
>
> utf-8' codec can't decode byte 0xb3 in position 149: invalid start byte
>>
>>
> How can I fix it? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/610cf50e-be60-4b9c-9313-3c5b568b8366%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: coding in template

2015-11-07 Thread Gergely Polonkai
That depends on your text editor. Most of them make it possible to choose
an encoding in the save dialog.

2015-11-07 21:56 GMT+01:00 Dariusz Mysior :

> How can I save in other coding, I had only option "save as" and name of
> file index.html
>
> W dniu sobota, 7 listopada 2015 21:44:25 UTC+1 użytkownik Dariusz Mysior
> napisał:
>>
>> I try use polish letters in my template index.html but I had an error
>>
>>
>> utf-8' codec can't decode byte 0xb3 in position 149: invalid start byte
>>>
>>>
>> How can I fix it?
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/cdb1e75c-4ad3-4cb4-8f70-4d7ae03a9c81%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACczBU%2Budi2EAQEbfnpygK_HhxuwfGRCsdeqSNHew3CDOKvK9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: coding in template

2015-11-07 Thread Dariusz Mysior
How can I save in other coding, I had only option "save as" and name of 
file index.html

W dniu sobota, 7 listopada 2015 21:44:25 UTC+1 użytkownik Dariusz Mysior 
napisał:
>
> I try use polish letters in my template index.html but I had an error
>
>
> utf-8' codec can't decode byte 0xb3 in position 149: invalid start byte
>>
>>
> How can I fix it? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cdb1e75c-4ad3-4cb4-8f70-4d7ae03a9c81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: coding in template

2015-11-07 Thread Gergely Polonkai
Hello,

I guess seems that your template is saved in LATIN2 encoding (in which 0xb3
is ł). Save it in UTF-8, or set up Django to use LATIN2 as the encoding
instead of Unicode (I suggest to go with the first option, though).

Best,
Gergely

2015-11-07 21:44 GMT+01:00 Dariusz Mysior :

> I try use polish letters in my template index.html but I had an error
>
>
> utf-8' codec can't decode byte 0xb3 in position 149: invalid start byte
>>
>>
> How can I fix it?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bce1852e-9f2e-482d-9037-5fac55afa487%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACczBUKP0omCPACuTxM8qSY3HV2DGE4T_RyiUMGd1neGP-xzyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.