Each_char implementation