skp_999 wrote: > I'm developing a simple bookmarking service with Webpy and I need to > store (utf-8) URLs in a Mysql field. > > 1. Should I go with a utf8_general_ci (and store utf-8 IRIs as they > are) or ASCII (utf8 IRI -> ASCII uri) ? > 2. When I have to display them in my HTML page, should I write my href > in utf8 or ascii ? > > tnx
So you want to store URLs encoded in utf-8 and you don't know what encoding to store them in...? Also, _ci means case insensitive, which URLs are not. Don't suddenly output tag attributes in a different encoding than the rest of the page... b^4 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
