Opened 12 years ago

Closed 12 years ago

#2246 closed defect (fixed)

[patch] Get Textile to work with utf-8

Reported by: thomas@… Owned by: Adrian Holovaty
Component: Contrib apps Version:
Severity: minor Keywords: markup utf-8 textile
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The textile filter is currently called with the default parameters ENCODING = 'latin-1' and output = 'ascii'. Since Django uses the utf-8 charset, textile chokes on non-ascii characters - returning some sort of god-forsaken xml entity garbage. This patch calls textile with the DEFAULT_CHARSET.

Attachments (1)

textile-utf-8.diff (645 bytes) - added by thomas@… 12 years ago.
Patch to use utf-8 with textile

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by thomas@…

Attachment: textile-utf-8.diff added

Patch to use utf-8 with textile

comment:1 Changed 12 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [3218]) Fixed #2246 -- Changed textile templatetag in contrib.markup to use DEFAULT_CHARSET setting

Note: See TracTickets for help on using tickets.
Back to Top