Thank you M. I ran a URL test on another Python based app and noticed that creating a URL with accents results in a non-accented URL. So for example creating a folder called "Marie-Josée" results in a folder titled Marie-Josée (with the URL "marie-josee"). I am guessing they have a little conversion script that takes care of this somewhere in that towering stack of code, or that Python has a built in utility for this.
Just for fun I tried searching for "é" via the Plone ZMI admin interface results in this: We're sorry, but there seems to be an error… Since you are a site administrator, you can see the full error message Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module App.special_dtml, line 178, in _exec Module DocumentTemplate.DT_With, line 61, in render Module DocumentTemplate.DT_Util, line 196, in eval - __traceback_info__: _ Module <string>, line 0, in ? Module OFS.FindSupport, line 163, in ZopeFind Module OFS.FindSupport, line 163, in ZopeFind Module OFS.FindSupport, line 124, in ZopeFind UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128) <<===== I am going to try a search for "unicode" next and see what it has to say. C On Nov 6, 8:11 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > Python 2.x does not allow special chars in function names. I think 3.x > does. > > On Nov 6, 5:48 pm, Christopher Steel <chris.st...@gmail.com> wrote: > > > I am having some users do accessibility testing for an "alpha" site > > and we seem to be having an issue withaccentsinURL's. In addition I > > noticed thataccentsdo not work as the name foractions. > > > Functions is not such a big deal for me but it would be really nice to > > be able to useaccentsinurl's. > > > The links are our alpha access testing app if anyone wants to try it. > > The site is a slight modification of the GAE mini wiki video demo by > > MP! > > >URL's > > > http://myvishpala.appspot.com/init/default/index/Marie-José > > > You can try it with a working link with noaccents, such as: > > > http://myvishpala.appspot.com/init/default/index/MyPage > > > and it should work just fine. > > > In the default.py controller something like > > > def josé(): > > return dict(form=auth()) > > > will not work either (does not "show up" in the controllers list of > >actions) > > > Thank you, > > > Christopher Steel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---