Recent activity
Subscribe to this feed-
est started following the idea "Native Linux-Support would be great!" in Spotify.
est replied on November 14, 2008 15:33 to the problem "Encoding bug in pinging customized URL" in Ping.fm:
est replied on November 14, 2008 14:21 to the problem "Encoding bug in pinging customized URL" in Ping.fm:
OK, some test data for Sean :-)
I tried to post the following data, just two Chinese words:
中文
to Ping.fm
(written in Python)
>>> #The byte stream representation, GBK encoded
>>> '中文'
'\xd6\xd0\xce\xc4'
>>># The unicode representation, U+4E2D and U+6587
>>> u'中文'
u'\u4e2d\u6587'
>>> #The UTF-8 encoded representation of the two characters
>>> u'中文'.encode('utf-8')
'\xe4\xb8\xad\xe6\x96\x87'
>>>
This is what Ping.fm POST'ed to customized URL
\xc3\xa4\xc2\xb8\xc2\xad\xc3\xa6\xc2\x96\xc2\x87
Which should be
\xe4\xb8\xad\xe6\x96\x87
instead
Fix it Sean !
est reported a problem in Ping.fm on November 14, 2008 13:44:
Encoding bug in pinging customized URLThe cuszomized URL method has a bug. Here's the raw socket I captured:
POST / HTTP/1.1
Host: 202.115.22.208:8000
Accept: */*
X-Ping-Server: Ping.fm
Content-Length: 289
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------70f7ecef425b
------------------------------70f7ecef425b
Content-Disposition: form-data; name="method"
status
------------------------------70f7ecef425b
Content-Disposition: form-data; name="message"
啊。crap
------------------------------70f7ecef425b--
The `multipart/form-data` has no charset declared, and it's not url-encoded.
And if I posted some CJK characters via Ping.fm customized URL, the characters is not displayed correctly. I think it's an encoding problem.
est started a conversation in Ping.fm on July 22, 2008 20:23:
More plurk supportwhen posting something to Plurk, if there's a link, then the verb SHARE should be used on plurk. Also the link should not be shortened!
est asked a question in Seesmic on July 21, 2008 20:49:
Support more!plurk support, fanfou support, jiwai.de support, any support. Plugin support
Loading Profile...
