Django

Code

Ticket #2246 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] Get Textile to work with utf-8

Reported by: thomas@ether.com.au Assigned to: adrian
Milestone: Component: Contrib apps
Version: Keywords: markup utf-8 textile
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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

textile-utf-8.diff (0.6 kB) - added by thomas@ether.com.au on 06/27/06 09:21:00.
Patch to use utf-8 with textile

Change History

06/27/06 09:21:00 changed by thomas@ether.com.au

  • attachment textile-utf-8.diff added.

Patch to use utf-8 with textile

06/27/06 20:08:04 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #2246 ([patch] Get Textile to work with utf-8)




Change Properties
Action