[Freeipa-devel] [PATCH] move utf-8 encoding inside user
Kevin McCarthy
kmccarth at redhat.com
Mon Aug 20 18:54:33 UTC 2007
Rob Crittenden wrote:
> Kevin McCarthy wrote:
>> This moved the utf-8 conversion inside the user.setValue() method.
>> -Kevin
>
> I wonder if it would be more efficient to encode all the strings at load
> time so we don't have to encode them every time they are fetched. Is there
> a downside to that (like messing up identifying which fields have been
> updated?)
So far, this patch should only update attributes coming from TurboGears
going into the server. The strings that come back from LDAP will be
regular strings, and won't go through this code.
-Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070820/58cd3133/attachment.bin>
More information about the Freeipa-devel
mailing list