Re: non-western character sets and object ids
Asko Soukka <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I guess, you could experiment with this: http://plone.293351.n2.nabble.com/UTF-8-object-ids-in-Zope-experimental-utf8id-tt7563352.html And overriding the base id normalizer (or a language specific one): https://github.com/plone/plone.i18n/tree/master/plone/i18n/normalizer Of course, there may still be Plone core code, or at least add-ons, which expect ids to be ascii only (resulting UnicodeDecodeErrors). -Asko Kees Hink wrote: > I noticed that Wikipedia has readable URLs even for languages with > non-western character sets (like Thai, [1]). > > In Plone, object ids in non-western character sets look like random > ascii characters (maybe ascii tranlsations of UTF encoding) [2]. This is > not a human-readable URL, which is something we say Plone does. > > If browsers are capable of reading non-ascii-encoded URLs, shouldn't we > move to these? I thought i'd ask here first before creating a ticket. > > The benefit would extend to every European language except English [3], > because of characters like ü, è, ó, ç, ò. > > [1] > http://th.wikipedia.org/wiki/%E0%B8%A7%E0%B8%B4%E0%B8%81%E0%B8%B4%E0%B8%9E%E0%B8%B5%E0%B9%80%E0%B8%94%E0%B8%B5%E0%B8%A2:%E0%B8%96%E0%B8%B2%E0%B8%A1%E0%B8%84%E0%B8%B3%E0%B8%96%E0%B8%B2%E0%B8%A1 > > > [2] http://localhost:8080/Plone/th/e21e0ae37e48e2de40e23e37e48e2de07e19e35 > > [3] Or is there another European language that uses only ascii characters? > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Plone-developers mailing list > Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/plone-developers ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech