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: 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 To: "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: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 Can you give an example of the code you have?=0A= =0A= ----------------------------------------=0A= > From: jcasale@activenetwerx.com=0A= > To: python-list@python.org=0A= > Subject: Ldap module and base64 oncoding=0A= > Date: Fri=2C 24 May 2013 21:00:01 +0000=0A= >=0A= > I have some data I am working with that is not being interpreted as a str= ing requiring=0A= > base64 encoding when sent to the ldif module for output.=0A= >=0A= > The base64 string parsed is ZGV0XDMzMTB3YmJccGc=3D and the raw string is = det\3310wbb\pg.=0A= > I'll admit my understanding of the handling requirements of non ascii dat= a in 2.7 is weak=0A= > and as such I am failing at adjusting the regex that deduces is the strin= g contains characters=0A= > requiring base64 encoding when being output.=0A= >=0A= > Any insight=2C or nudges in the right direction would be appreciated!=0A= > Thanks=2C=0A= > jlc=0A= > --=0A= > http://mail.python.org/mailman/listinfo/python-list =