[pLog-svn] Help testing the moblog plugin

Oscar Renalias oscar at renalias.net
Wed May 11 21:33:06 GMT 2005


This plugin seems to work quite well now... I will document it soon  
and help you configure it if needed (including setting up an email  
alias if you don't have access to them in your server)

But you're probably not going to be too happy because it's an  
encoding mess all over again. Sending messages which include  
characters in UTF-8 or whatever is not a problem, since the plugin  
will just save the text whatever it is and it will be displayed by  
the browser according to the blog locale.

Problems start to appear with attachments... I tried to send a  
message which included a file whose name had chinese characters and  
it didn't quite work :( When specifying the file name of the  
attachment in a MIME part, this is what OS X's Mail.app does:

Content-Type: image/jpeg;
         x-unix-mode=0600;
         name="????.jpg"
Content-Disposition: inline;
         filename*=UTF-8''%E6%AC%B3%E6%AD%83%E6%AD%88%E6%AD%B0.jpg

It urlencodes the filename in UTF-8 but *only* in the Content- 
Disposition MIME header. This image was correctly saved but its name  
is displayed as "????.jpg"... Now let's see what Gmail does with the  
same attachment:

Content-Type: image/jpeg; name="=?GB2312?B?mkPspppRmm8uanBn?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="=?GB2312?B? 
mkPspppRmm8uanBn?="

It used 'GB2312' as the encoding and it encoded both the Content-Type  
and the Content-Disposition MIME headers.

I haven't seen what kind of MIME headers your K700i sends but it  
could possibly a new and completely different combination... This is  
probably going to require support for iconv or something like that,  
and it's going to be quite difficult for us to debug. Do you think  
you'd like to take a look at this or is there anybody in the Chinese  
community who'd like to help?

Oscar

On 9 May 2005, at 10:57, Mark Wu wrote:

> Wow ... I love this function, I  already send a mail by my se k700i  
> MMS, and
> waiting ....:D
>
> Mark
>
>
>> -----Original Message-----
>> From: plog-svn-bounces at devel.plogworld.net
>> [mailto:plog-svn-bounces at devel.plogworld.net] On Behalf Of
>> Oscar Renalias
>> Sent: Monday, May 09, 2005 3:38 PM
>> To: plog-svn at devel.plogworld.net
>> Subject: [pLog-svn] Help testing the moblog plugin
>>
>> I've set up a test blog where you can send your test posts via email.
>> I'm interested in testing this thing with as many email
>> clients as we can (but more importantly, mobile email
>> clients) Please send a message to moblog at devel.plogworld.net
>> with the following *exact* contents:
>>
>>
>> USER: test
>> PASS: test
>> BLOG: test blog
>> here you type the contents of your message
>>
>>
>> (obviously, replace the last line with your own text :))
>>
>> Please also try to attach one, two or as many images as you
>> want. Once you have sent the image, wait for some time
>> (depending on the speed of your mail server) and then check
>>
>> http://devel.plogworld.net/blog/test_blog
>>
>> Let me know if you have any question...
>>
>> Oscar
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.plogworld.net
>> http://devel.plogworld.net/mailman/listinfo/plog-svn
>>
>
>
>




More information about the pLog-svn mailing list