[prev in list] [next in list] [prev in thread] [next in thread]
List: python-list
Subject: Re: String multi-replace
From: Peter Otten <__peter__ () web ! de>
Date: 2010-11-18 9:39:23
Message-ID: ic2s8b$691$02$1 () news ! t-online ! com
[Download RAW message or body]
Sorin Schwimmer wrote:
> I have to eliminate diacritics in a fairly large file.
>
> Inspired by http://code.activestate.com/recipes/81330/, I came up with the
> following code:
Here's the unicode.translate()-based approach spelt out:
http://effbot.org/zone/unicode-convert.htm
Peter
--
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic