Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #30464

Re: jdbc setBinaryStream

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: jdbc setBinaryStream
Date 2014-12-02 12:16 +0000
Organization A noiseless patient Spider
Message-ID <m5kai0$uqd$1@dont-email.me> (permalink)
References (2 earlier) <slrnm7kbj7.uoi.avl@login.logic.tuwien.ac.at> <m5dn48$1ci$1@dont-email.me> <slrnm7mc14.uoi.avl@login.logic.tuwien.ac.at> <m5hske$fqv$1@dont-email.me> <547d25b0$0$303$14726298@news.sunsite.dk>

Show all headers | View raw


On Mon, 01 Dec 2014 21:36:30 -0500, Arne Vajhøj wrote:

> On 12/1/2014 9:06 AM, Martin Gregorie wrote:
>> I think you'll find that the RFCs for e-mail specify that a message
>> body must use 8 bit characters - which is why a MIME part with content
>> other than ASCII or UTF-8  will be encoded as base64 or something else
>> that can be represented as 8 bit characters.
>>
>> I used a character type representation rather than blobs because of the
>> RFCs requiring that a message body and headers must be 8-bit
>> characters.
> 
> Do you mean 7 and not 8?
>
No, that used to be the case when e-mail message bodies used 7-bit ASCII 
or ECMA encoding, but now that UTF-8 is generally accepted in e-mail 
message bodies, 8 bit encoding is accepted, but only UTF-8 is near 
universal. 

There are some Apple mailing systems that insist on setting the encoding 
to MACINTOSH. Some mail handling libraries, JavaMail in combination with 
Mstor is one of them, spit at this. However, AFAICT MACINTOSH is just a 
synonym for UTF-8: changing it to UTF-8 makes the mail parsable by Mstor/
JavaMail and its still readable when displayed by my usual mailreader, 
Evolution.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

jdbc setBinaryStream Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-29 14:45 +0000
  Re: jdbc setBinaryStream Daniele Futtorovic <da.futt.news@laposte.net> - 2014-11-29 16:57 +0100
    Re: jdbc setBinaryStream Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-29 16:58 +0000
      Re: jdbc setBinaryStream Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-29 19:39 +0000
        Re: jdbc setBinaryStream Daniele Futtorovic <da.futt.news@laposte.net> - 2014-11-30 02:37 +0100
          Re: jdbc setBinaryStream Arne Vajhøj <arne@vajhoej.dk> - 2014-11-29 21:26 -0500
            Re: jdbc setBinaryStream Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-30 11:12 +0000
  Re: jdbc setBinaryStream Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-29 19:59 +0000
    Re: jdbc setBinaryStream Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-29 20:36 +0000
      Re: jdbc setBinaryStream Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-30 00:07 +0000
        Re: jdbc setBinaryStream Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-11-30 14:56 +0000
          Re: jdbc setBinaryStream Martin Gregorie <martin@address-in-sig.invalid> - 2014-12-01 14:06 +0000
            Re: jdbc setBinaryStream Arne Vajhøj <arne@vajhoej.dk> - 2014-12-01 21:36 -0500
              Re: jdbc setBinaryStream Martin Gregorie <martin@address-in-sig.invalid> - 2014-12-02 12:16 +0000
            Re: jdbc setBinaryStream Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-12-02 17:56 +0000
              Re: jdbc setBinaryStream Martin Gregorie <martin@address-in-sig.invalid> - 2014-12-02 21:37 +0000

csiph-web