C remove non ascii characters from string