Opened 10 years ago

Closed 10 years ago

#2246 closed defect (fixed)

[patch] Get Textile to work with utf-8

Reported by: thomas@… Owned by: adrian
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@… 10 years ago.
Patch to use utf-8 with textile

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by thomas@…

Patch to use utf-8 with textile

comment:1 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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