[Freeipa-devel] [PATCH] move utf-8 encoding inside user
Rob Crittenden
rcritten at redhat.com
Mon Aug 20 19:30:45 UTC 2007
Kevin McCarthy wrote:
> 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.
>
Ok, works for me.
+1
rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070820/0a181fcb/attachment.bin>
More information about the Freeipa-devel
mailing list