fixed function 'edit_get_prev_utf ' to obtain the correct previous utf8 character.