[Web-SIG] PEP 444 (aka Web3)
Armin Ronacher
armin.ronacher at active-4.com
Fri Sep 17 18:25:42 CEST 2010
Hi,
On 9/17/10 5:42 PM, P.J. Eby wrote:
> So, do you have an example of what some real-world code is going to *do*
> with this information? i.e., what's the use case for knowing the precise
> degree of messed-uppedness of the path? ;-)
Actually, I can see a couple of use cases. I have a blog that by
default only produces ASCII-safe slugs for the URLs which means that if
you are a chinese person you will only get the ID based fallback there.
If I could safely detect if the setup supports unicode identifiers in
URLs in a way that works, I could give a good default and warn the user
if they change the setting.
Regards,
Armin
More information about the Web-SIG
mailing list