Extract character normalization function