top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Looking for UNICODE to ASCII Conversion Example Code

+1 vote
366 views

I am looking for an example of a UNICODE to ASCII conversion example that will remove diacritics from characters (and leave the characters, i.e., Klüft to Kluft) as well as handle the conversion of other characters, like große to grosse.

There used to be a program called any2ascii.py (http://www.haypocalc.com/perso/prog/python/any2ascii.py ) that worked well, but the link is now broken and I can't seem to locate it.

I have seen the page Unicode strings to ASCII ...nicely, http://www.peterbe.com/plog/unicode-to-ascii, but am looking for a working example.

posted Oct 18, 2013 by Jagan Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

This: https://pypi.python.org/pypi/Unidecode/
... seems to work

answer Oct 19, 2013 by Salil Agrawal
Similar Questions
+3 votes

I need python code snippet for LTE/UMTS for automation testing.Example of scenario looking for LTE attach ,detach, MO/MT call .
I am looking for UE side scripts.

0 votes

I want to convert audio in MP3 format to other formats including uncompressed raw format, WAV etc. and I am using python 2.7. Is there any built-in module I can use or any third party modules available ?

Please help me on this. I would be very grateful.

+3 votes

I'm looking for a simple Address Book program written in Python, I've looked at addressbook 1.0.1 from PyPi but it doesn't quite do what I want. I may have to start with this and modify it but maybe there's something better out there.

In particular I want some sort of import/export ability and I'd really like some more configurability.

Any ideas anyone?

...