unicode - Guidelines for changing the default encoding of a Django site -


django comes unicode support out of box , supports utf-8 default. have developed, debugged , tested site bunch of django apps in utf-8. steps required painless migration different encoding, latin-1 ? wish need setting default_charset = 'latin-1' , changing encoding of database somehow doubt simple.

for sake of discussion can ignore migration of stored utf-8 data in database; i'm interested in required checks , changes in django code database , web server configuration.

you shouldn't need make significant changes django codebase. though working characterset utf-8, data stored in database using database's chosen encoding.

do have really reason moving utf-8 latin-1?

if you're concerned character encoding of output, want deal using referenced setting, rather @ database level may lose data.

there's more info here:

http://docs.djangoproject.com/en/dev/ref/unicode/


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -