I use the following command to insert new lines between characters in a text file in order to generate a single column of characters:
sed 's/./&\n/g' file.txt
This works for characters within ASCII; for example, from:
1 2 3
I cannot get anything to work with multibyte characters such as
Õöþùüê¡£¢¥Ÿ£€Ÿ£¡œãòáç¢œáòá, which appear on web pages that I download as HTML.
This is part of a solution I'm working on for another question I posted - I'm ultimately trying to generate a script to convert these characters to English- but I need to get each character on its own line.