[Checkins] [zopefoundation/DocumentTemplate] 465153: Use UTF-8 instead of Latin-1
GitHub
noreply at github.com
Tue Jun 19 11:07:12 CEST 2018
Branch: refs/heads/use-utf-8-instead-of-latin-1
Home: https://github.com/zopefoundation/DocumentTemplate
Commit: 465153bbc84bb12e8a50556234c6c5274392158f
https://github.com/zopefoundation/DocumentTemplate/commit/465153bbc84bb12e8a50556234c6c5274392158f
Author: Malthe Borch <mborch at gmail.com>
Date: 2018-06-19 (Tue, 19 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.
**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