= Сообщение: 10 из 846 =============================================== UTF-8 = От : Maurice Kinal 1:153/7001 21 Apr 14 22:53:42 Кому : Michiel van der Vlist 21 Apr 14 22:53:42 Тема : last kick at the cat FGHI : area://UTF-8?msgid=1:153/7001.0+5355a176 = Кодировка сообщения определена как: UTF-8 ================================== ============================================================================== Hey Michiel!
Not sure if this repost will fix the problem but it is worth one last shot. If this works then I am sure I know where I went wrong.
MvdV> So you actually reïnvented the wheel and wrote a complete packet MvdV> viewer?
Nope. I just more or less followed the Unix philosophy as I learned it back in the early 1990's. A healthy part of the philosophy is that unless you think you can do better, use what is presented to you as part of the system. So the reader is simply a shell wrapper to; tr '\0\r\1' '\n\n@' < $HOME/archives/new_messages.raw | less
Works like a charm and as long as I don't pipe it to 'less -r' then all is revealed including the BOM when you decide to include it. With 'less -r' it would be ignored. Also 'less -r' works great with ansi codes for colourization and the such.
MvdV> It is a text editor, so you have to apply it to some "text".
Yes including utf-8 characters such as the Euro symbol. I can also shell out commands and have the output redirected into a message such as this command which should result in the Euro symbol being inserted below;
command: r ! echo -e "\u20ac"
Neat eh! A better example might be the output of 'lscpu' which will post the specs of the machine I am typing this reply on;