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


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

Re: jdbc setBinaryStream

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: jdbc setBinaryStream
Date Tue, 2 Dec 2014 12:16:00 +0000 (UTC)
Organization A noiseless patient Spider
Lines 31
Message-ID <m5kai0$uqd$1@dont-email.me> (permalink)
References <slrnm7jn16.uoi.avl@login.logic.tuwien.ac.at> <m5d8ii$cch$1@dont-email.me> <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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Tue, 2 Dec 2014 12:16:00 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="31565"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++4aRDmzYHtKnhRllwQ43vG7g2wCoW/k0="
User-Agent Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
Cancel-Lock sha1:k6p7kzv0Hx+9tTED+KaQ93a5tJ4=
Xref csiph.com comp.lang.java.programmer:30464

Show key headers only | 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