Im using python's .replace() function to find and replace to words "à Lyon"but it doesnt seem to work with accented characters. I don want to replace "a Lyon" (wothout accent) only the occurences that have the "à" accented.
ex.
old_str = "nous allons à Lyon et malheureusement il a Lyon"
new_str = old_str.replace("à Lyon", "found it")
This should return: "nous allons found it et malheureusement il a Lyon"
Any sugestions would be very much appreciated thanks.