Quote:
Originally Posted by gipsy
EDIT: Sorry they didn't work with the replace in unicode code
For example the "γΰρω" is changed to "γ\u03CDρω"
|
Because of the
idiotic rather counterintuitive way that Python handles Unicode strings, you'll have to use the actual characters instead of the Unicode codes if you want to avoid the whole Python Unicode encode/decode mess.
Change the following line from:
Code:
CorrectText("Changed \u03CD to \u03B0", r'\u03B0', r'\u03CD')
to
Code:
CorrectText("Changed \u03CD to \u03B0", r'ΰ', r'ύ')
This'll change γΰρω to γύρω.