testing mtsend.py -1
This is test of mtsend.py. it allows me to send in some text formatted in vim. But i don’t know whether it handles unicode data. Because I got an error when I tried to retrieve an earlier post:
Error: 'ascii' codec can't encode character you'\u2014' in
position 72: ordinal not in range(128)
BTW, the AUTHOR field is not allowed. You will have to remove it too.
I just found an excellent article on how to use mtsend.py from within vim.
Its from Brad the Mad and i am editing the last post from within Vim.
[Update: One has to add “STATUS: publish” in the header, else the posts are going as drafts.]