Re: Replace accented chars with unaccented ones
From: Fuzzyman (michael_at_foord.net)
Date: 03/16/04
- Next message: Michael Hudson: "Re: Replace accented chars with unaccented ones"
- Previous message: Simon Burton: "Re: Python & Linux, some questions (2)"
- In reply to: Nicolas Bouillon: "Re: Replace accented chars with unaccented ones"
- Next in thread: Jeff Epler: "Re: Replace accented chars with unaccented ones"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Mar 2004 03:17:02 -0800
Nicolas Bouillon <bouil@bouil.org.invalid> wrote in message news:<EWx5c.30346$zm5.12052@nntpserver.swip.net>...
> Thank you both for your answer. They works well both very good.
>
> First, i believe i doesn't work, because the error i've made is to
> forgot the "u" for string : u"é". Because my file was already utf-8
> encoded (# -*- coding: UTF-8 -*-), i thinks the "u" is not necessary...
> i was wrong.
>
> Bye.
The 'utils1' package includes a file called charmap which is a
function to map to ascii....... Originally comes from a 'python
snippet' on sourceforge I believe....
http://www.voidspace.org.uk/atlantibots/pythonutils.html
Regards,
Fuzzy
- Next message: Michael Hudson: "Re: Replace accented chars with unaccented ones"
- Previous message: Simon Burton: "Re: Python & Linux, some questions (2)"
- In reply to: Nicolas Bouillon: "Re: Replace accented chars with unaccented ones"
- Next in thread: Jeff Epler: "Re: Replace accented chars with unaccented ones"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|