Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45937

RE: Ldap module and base64 oncoding

From Carlos Nepomuceno <carlosnepomuceno@outlook.com>
Subject RE: Ldap module and base64 oncoding
Date 2013-05-25 04:10 +0300
References <dc63b80b78aa4027867f06ae10f8c5bb@exch.activenetwerx.com>
Newsgroups comp.lang.python
Message-ID <mailman.2095.1369444226.3114.python-list@python.org> (permalink)

Show all headers | View raw


Can you give an example of the code you have?

----------------------------------------
> From: jcasale@activenetwerx.com
> To: python-list@python.org
> Subject: Ldap module and base64 oncoding
> Date: Fri, 24 May 2013 21:00:01 +0000
>
> I have some data I am working with that is not being interpreted as a string requiring
> base64 encoding when sent to the ldif module for output.
>
> The base64 string parsed is ZGV0XDMzMTB3YmJccGc= and the raw string is det\3310wbb\pg.
> I'll admit my understanding of the handling requirements of non ascii data in 2.7 is weak
> and as such I am failing at adjusting the regex that deduces is the string contains characters
> requiring base64 encoding when being output.
>
> Any insight, or nudges in the right direction would be appreciated!
> Thanks,
> jlc
> --
> http://mail.python.org/mailman/listinfo/python-list 		 	   		  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Ldap module and base64 oncoding Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-25 04:10 +0300

csiph-web