[ckan-changes] [okfn/ckan] 1864c7: [#2591] fix postgresql 9.1.4 unicode issue

GitHub noreply at github.com
Tue Jun 26 09:48:06 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 1864c7f2fad71e81a6c69e84f808149b2850f6f6
      https://github.com/okfn/ckan/commit/1864c7f2fad71e81a6c69e84f808149b2850f6f6
  Author: Toby <toby.junk at gmail.com>
  Date:   2012-06-25 (Mon, 25 Jun 2012)

  Changed paths:
    M ckan/config/environment.py

  Log Message:
  -----------
  [#2591] fix postgresql 9.1.4 unicode issue

sqlalchemy gets confused over unicode encoding in postgresql v9.1.4
we get utf-8 data but we can think that we are getting SQL_ASCII
this patch forces sqlalchemy to use utf-8 which will make things easier
as all ckan data should be treated as utf-8


  Commit: 2d73bafa3aaa2bfa3c11662a8287ca12dd62185f
      https://github.com/okfn/ckan/commit/2d73bafa3aaa2bfa3c11662a8287ca12dd62185f
  Author: Toby <toby.junk at gmail.com>
  Date:   2012-06-25 (Mon, 25 Jun 2012)

  Changed paths:
    M ckan/config/environment.py

  Log Message:
  -----------
  [#2591] only enforce unicode for postgresql

sqlite databases do not want to be affected


  Commit: 75283f65d644d928e2b5c636d16d3fe06bbf600f
      https://github.com/okfn/ckan/commit/75283f65d644d928e2b5c636d16d3fe06bbf600f
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-06-26 (Tue, 26 Jun 2012)

  Changed paths:
    M ckan/config/environment.py

  Log Message:
  -----------
  Merge branch 'defect-2591-postgresql-unicode'


Compare: https://github.com/okfn/ckan/compare/a68431aa331c...75283f65d644


More information about the ckan-changes mailing list