Opened 17 years ago

Closed 17 years ago

#4749 closed (duplicate)

Title filter error with non us-ascii chars

Reported by: marc.garcia@… Owned by: Adrian Holovaty
Component: Template system Version: dev
Severity: Keywords: filter title character set unicode-branch
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When applying title filter to a word with non us-ascii characters, wrong results are returned. Upper case is set after this characters inside the word.

For example,
{% filter title %}discothèque{% endfilter %}
returns DiscothèQue
expected Discothèque

Attachments (1) (448 bytes ) - added by marc.garcia@… 17 years ago.
Possible fix to this bug (to be reviewed)

Download all attachments as: .zip

Change History (4)

by marc.garcia@…, 17 years ago

Attachment: added

Possible fix to this bug (to be reviewed)

comment:1 by Malcolm Tredinnick, 17 years ago

(In [5591]) unicode: Added a test to ensure that we title-case non-ASCII strings properly.
Refs #4749.

comment:2 by Malcolm Tredinnick, 17 years ago

Keywords: unicode-branch added

There are lots of little problems like this with non-ASCII data on trunk at the moment and we're working on fixing things holistically rather than with individual changes (on the Unicode branch). This is already handled properly in the Unicode branch, so I'll close this ticket once that branch is merged into trunk.

comment:3 by Malcolm Tredinnick, 17 years ago

Resolution: duplicate
Status: newclosed

Turns out this is a dupe of #2391 and that's already on the to-close list after the merge.

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