The Accidental Rubyist

invalid byte sequence in UTF-8

testing mtsend.py -1

with one comment

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.]

Advertisements

Written by totalrecall

March 2, 2007 at 2:50 pm

Posted in life

One Response

Subscribe to comments with RSS.

  1. Please email me if you know anything about getting this to work with LiveJournal!

    Clint

    March 9, 2008 at 7:35 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: