Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 unicode to ascii for look-like letters
#1
does anyone know of a module or database to convert Unicode to ASCII of look-like letters? by that i mean any codes above 127 that have an appearance like or similar to a letter or any character in ASCII gets translated to that letter or character in ASCII that it looks like. for example the letter "A" with a variety of different accent marks or different display effects get translated to "A". if it wants input and/or gives results as numeric codes, that's OK.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote
#2
Try the unidecode module
>>> from unidecode import unidecode
>>> 
>>> unidecode("L'été à la plage")
"L'ete a la plage"
Quote
#3
that's a misleading name. but thinks for the info.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  py.exe: printing ascii number 7 qrani 3 899 Aug-27-2018, 01:35 PM
Last Post: Axel_Erfurt

Forum Jump:


Users browsing this thread: 1 Guest(s)