encoding and crossposting

I have discovered something fascinating.

My previous entry posted without problem, but stubbornly refused to crosspost to LiveJournal. I kept trying; no luck. I tried the only other service I had set up in Tabulas, DeadJournal; same result.

I wrote a concerned little note to Roy and a rather less cheerful one to my LJ page, explaining my problem. Then, I think, I went to bed or otherwise distracted myself.

Tonight, with nobody to babysit, I returned to my task. A new revelation dawned: perhaps the Song of the Cebú was to blame! Rather, its title, complete with accent. Some things just can't grasp UTF-8 encoding, which I think is what Tabulas uses.

So I removed the song title from my "Currently listening to" box and tried again to crosspost. Success! I hadn't actually expected that. After so many failures, I assumed the problem must be entirely out of my hands, but here we are.

Presumably this entry will not crosspost nicely either. Oh dear. I didn't think of that when starting out. Now that I know the issue, I can always edit the entry to omit the accent, crosspost, then replace the accent on all versions of the post. Tedious, certainly, but much better than a failure message.

Aha! Yes, more failure. Hilarious, now that I know the cause. My plan B worked nicely.

Related Entries

Linked Entries

These are Tabulas entries which have linked to this particular entry.

Login to your account to post comment

You are not logged into your Tabulas account. Please click here to login.

Comment posted on March 28th, 2010 at 02:41 PM
I took a look at this. Oddly enough, this problem only occurs when you start using 2-byte characters (I tested with the simple accent first - no problem, then tried the phrase you had at the bottom of your LJ post - fail).

And it only occurs in the metadata section, and NOT when you handle the body.

The error returned?
xmlrpcresp Object
(
[val] => 0
[errno] => -1
[errstr] => Application failed during request deserialization:
not well-formed (invalid token) at line 20, column 22, byte 547 at /usr/lib/perl5/XML/Parser.pm line 187

[hdrs] => Array
(
[Date] => Sun, 28 Mar 2010 20:38:07 GMT
[Server] => Apache
[Set-Cookie] => ljuniq=2JeRXjrrlmSAlPj:1269808687:pgstats0:m0; expires=Thursday, 27-May-2010 20:38:07 GMT; domain=.livejournal.com; path=/
[Content-Length] => 425
[Content-Type] => text/xml
[SOAPServer] => SOAP::Lite/Perl/0.60
[Connection] => close
)

)

Seems to be a fail on LJ's side. I can remove the utf-8 encoding on transport of title over, but then you get a mangled title. I'm wondering if that's better than not posting at all...
Comment posted on March 22nd, 2010 at 11:43 PM
will crossposting work if you place something in the mood, currently listening, watching, and reading, too? because i'm having problems too in crossposting to blogger.
Comment posted on March 23rd, 2010 at 10:12 AM
Sorry, but I don't know. I've never crossposted to Blogger.