Hi,

jvanasco wrote:
> Aside from that, I think the issue is more of a problem with Unicode
> -- unicode doesn't store every charcter with the same required space
> ( http://en.wikipedia.org/wiki/UTF-8 ).  

wrong. Unicode doesn't store characters at all. It's an UTF-8 issue, but
UTF-8 is just one *encoding* for unicode characters.

Under those circumstances where the byte length has to be calculated in
advance without knowing content, one should use an encoding, that uses
the same number of bytes for every unicode character. UTF-16 would be a
good coice. On the other hand UTF-8 is better for legacy support: ASCII
strings aren't any different in UTF-8.

What I don't know is how to tell SQLObject (if at all possible) to use
UTF-16 instead of UTF-8...

Cheers,
  --Jan Niklas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to