Utf-8 and line endings are orthogonal issues. The problem is not that the files are not in utf-8, but that windows and Linux don't agree on what character means line-end.
You will run into problems shipping unmodified windows line endings to a Linux box. Luckily the answer is git. This can be configured to automagically do the conversions. Malcolm Sent from my iPhone, please excuse any typos On 13 May 2011, at 23:56, Michael <michael.palumb...@gmail.com> wrote: > Hello everybody, > > I am a beginner with Django and I was wondering something about UTF-8. > As a matter of fact, the files created automatically by Django when > you create your site and apps are not encoded in UTF-8. So some > characteres like the end of line are specific to the OS you have been > creating them. > > Since I created them on Windows, I was wondering what will happen when > I will deploy my django site on a Linux server since the end of line > character is different ? > Wouldn't have been interesting to create all the files in a UTF format > so that the end of line is the same whatever the OS is ? > > That was just a think. > > Thank you > Bye. > Michael > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.