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


Groups > comp.lang.python > #45937

RE: Ldap module and base64 oncoding

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <carlosnepomuceno@outlook.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'encoding': 0.05; 'failing': 0.07; 'string': 0.09; 'ascii': 0.09; 'interpreted': 0.09; 'parsed': 0.09; 'subject:module': 0.09; '2.7': 0.14; 'adjusting': 0.16; 'appreciated!': 0.16; 'base64': 0.16; 'ldif': 0.16; 'thanks,': 0.17; 'module': 0.19; 'example': 0.22; '+0000': 0.22; 'to:name:python-list@python.org': 0.22; 'received:65.55.116': 0.24; 'non': 0.24; 'handling': 0.26; 'header :In-Reply-To:1': 0.27; 'skip:- 40': 0.29; 'characters': 0.30; 'direction': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'url:python': 0.33; 'fri,': 0.33; 'raw': 0.33; 'date:': 0.34; 'url:listinfo': 0.36; "i'll": 0.36; 'url:org': 0.36; 'requirements': 0.37; 'email addr:python.org': 0.37; 'being': 0.38; 'requiring': 0.38; 'to:addr:python-list': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'skip:u 10': 0.60; 'skip:z 20': 0.60; 'such': 0.63; 'email name:python-list': 0.65; 'have?': 0.84; 'insight,': 0.84; '2013': 0.98
X-TMN [ySqoF/9RECp+kpSJLiNiF5aX1V1SO7r0]
X-Originating-Email [carlosnepomuceno@outlook.com]
From Carlos Nepomuceno <carlosnepomuceno@outlook.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: Ldap module and base64 oncoding
Date Sat, 25 May 2013 04:10:18 +0300
Importance Normal
In-Reply-To <dc63b80b78aa4027867f06ae10f8c5bb@exch.activenetwerx.com>
References <dc63b80b78aa4027867f06ae10f8c5bb@exch.activenetwerx.com>
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-OriginalArrivalTime 25 May 2013 01:10:18.0926 (UTC) FILETIME=[9F5504E0:01CE58E4]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2095.1369444226.3114.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369444226 news.xs4all.nl 16000 [2001:888:2000:d::a6]:34459
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45937

Show key headers only | 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