Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1.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.053 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'string.': 0.05; 'ascii': 0.09; 'shame': 0.09; 'subject:module': 0.09; 'python': 0.11; 'received:172.18.0': 0.16; 'module': 0.19; 'properly': 0.19; 'example': 0.22; 'to:name:python-list@python.org': 0.22; 'non': 0.24; 'header:In-Reply-To:1': 0.27; 'code': 0.31; 'class': 0.32; 'there': 0.35; 'really': 0.36; 'method': 0.36; 'charset:us-ascii': 0.36; 'handle': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'solve': 0.60; 'received:unknown': 0.61; 'more': 0.64; 'safe': 0.72; 'have?': 0.84; 'reading,': 0.84; 'this...': 0.84 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=YS95TUGYX+MRkNY/meip+CxRTyy2F4x7QGJ4HWfgHsg= c=1 sm=1 a=CRTDazI5n6YA:10 a=xv9iwkAQU-cA:10 a=7PYXob_7ZXMA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=mZnKs_jUrGt2XqYhGH0A:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 From: "Joseph L. Casale" To: "python-list@python.org" Subject: RE: Ldap module and base64 oncoding Thread-Topic: Ldap module and base64 oncoding Thread-Index: AQHOWMFJ2gcVydFyA0eXB9j8yy7c/ZkVfFAAgACO8qI= Date: Sat, 25 May 2013 15:42:14 +0000 References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.0.200] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369496613 news.xs4all.nl 16008 [2001:888:2000:d::a6]:54288 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46006 > Can you give an example of the code you have?=0A= =0A= I actually just overrode the regex used by the method in the LDIFWriter cla= ss to be far more broad=0A= about what it interprets as a safe string. I really need to properly handle= reading, manipulating and=0A= writing non ascii data to solve this...=0A= =0A= Shame there is no ldap module (with the ldifwriter) in Python 3.=0A= jlc=