> So you want to store URLs encoded in utf-8 and you don't know what
> encoding to store them in...?

I need to store IRIs (very loosely speaking, a URI that can contain
Unicode characters). My question is: should I store them in a UTF-8
field or convert them from IRI to URI and then store them in a ASCII
field? Which is better (note that I can always perform a URI->IRI
conversion)?

> Also, _ci means case insensitive, which URLs are not.

'ci' means case insensitive when I perform a *search* on my db

> Don't suddenly output tag attributes in a different encoding than the
> rest of the page...

My page charset is utf-8. My question is: should I print my HREFs in
utf-8 or in encoded ASCII ?

tnx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to