How can I add spaces between every character or symbol within a UTF-8 document? E.g. 123hello! becomes 1 2 3 h e l l o !.
- I have
BASH,OpenOffice.org, andgedit, if any of those can do that. - I don’t care if it sometimes leaves extra spaces in places (e.g. 2 or 3 spaces in a single place is no problem).
sed(1)can do this:It works well on e.g. UTF-8 encoded Japanese content: