Opened 19 years ago

Closed 18 years ago

Last modified 17 years ago

#1602 closed enhancement (duplicate)

magic-removal: urlify.js blocks out non-English chars

Reported by: Petar Marić <petar.maric@…> Owned by: Adrian Holovaty
Component: contrib.admin Version: magic-removal
Severity: minor Keywords:
Cc: petar.maric@…, avandorp@… Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I sugest we change urlify.js in a way that will not block out non-English chars.
Instead it should translate them into their English feel-a-like, ie for Serbian (Latin): Š->s, Đ->dj, Č->c.

Attachments (1)

urlify-serbian-latin.patch (790 bytes ) - added by Petar Marić <petar.maric@…> 19 years ago.
Example of the patch for Serbian (Latin)

Download all attachments as: .zip

Change History (3)

by Petar Marić <petar.maric@…>, 19 years ago

Attachment: urlify-serbian-latin.patch added

Example of the patch for Serbian (Latin)

comment:1 by avandorp@…, 19 years ago

Cc: avandorp@… added

If we do that, we should try to normalize even more letters. Among them ö->oe, ä->ae, ü->ue, é->e, è->e, à->a, ß->ss. Does anyone know a list of all possible accented letters? Or should there be an automatism escaping all characters?

comment:2 by Malcolm Tredinnick, 18 years ago

Resolution: duplicate
Status: newclosed

This and #2282 are talking about the same thing. There is a bit more discussion (mostly links to mailing list threads) in the latter, so I'll close this one as a dupe, but add a note about the Serbian transpositions being here.

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