[Checkins] [zopefoundation/DocumentTemplate] cd6f23: Use UTF-8 instead of Latin-1

GitHub noreply at github.com
Wed Jun 20 08:15:55 CEST 2018


  Branch: refs/heads/use-utf-8-instead-of-latin-1
  Home:   https://github.com/zopefoundation/DocumentTemplate
  Commit: cd6f23fa1ccd15462401d8dc5fc9341aee05dcd8
      https://github.com/zopefoundation/DocumentTemplate/commit/cd6f23fa1ccd15462401d8dc5fc9341aee05dcd8
  Author: Malthe Borch <mborch at gmail.com>
  Date:   2018-06-20 (Wed, 20 Jun 2018)

  Changed paths:
    M CHANGES.txt
    M src/DocumentTemplate/cDocumentTemplate.c
    M src/DocumentTemplate/tests/testDTMLUnicode.py

  Log Message:
  -----------
  Use UTF-8 instead of Latin-1

This decoding happens when a non-unicode string is rendered in
a DTML template.

The decoding happens in 'join_unicode' which takes no arguments. But a
better fix for this would perhaps be to make that function take an encoding
argument (or boolean keyword argument to enable UTF-8).

However, backwards compatibility here seems rather pointless.


  Commit: 8e024ce297fc08e87d3a172be21c313274f325c8
      https://github.com/zopefoundation/DocumentTemplate/commit/8e024ce297fc08e87d3a172be21c313274f325c8
  Author: Malthe Borch <mborch at gmail.com>
  Date:   2018-06-20 (Wed, 20 Jun 2018)

  Changed paths:
    M src/DocumentTemplate/cDocumentTemplate.c

  Log Message:
  -----------
  Update encoding in docstring


Compare: https://github.com/zopefoundation/DocumentTemplate/compare/1bcd840e9d07...8e024ce297fc
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list