On 2011-05-14, at 00:56 , Michael 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. EOLs have nothing to do with UTF-8.
> 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 ? As far as Python (the interpreter) is concerned, it should not matter. Your editor may or may not have a universal line-end mode, and may or may not be able to detect the file's line-ending format, but that's about it. > 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 ? EOLs have nothing to do with UTF-8 (or more generally unicode), bis). -- 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.