From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24096 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Unintended base64 encoding Date: 09 Jul 1999 22:00:43 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <874skefuuh.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161723 6885 80.91.224.250 (21 Oct 2002 00:55:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:55:23 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA27367 for ; Fri, 9 Jul 1999 16:05:13 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB23420; Fri, 9 Jul 1999 15:05:05 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 09 Jul 1999 15:05:56 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA16602 for ; Fri, 9 Jul 1999 15:05:46 -0500 (CDT) Original-Received: from quimbies.gnus.org (bang.netfonds.no [195.1.89.231]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA27356 for ; Fri, 9 Jul 1999 16:04:44 -0400 (EDT) Original-Received: (from larsi@localhost) by quimbies.gnus.org (8.8.7/8.8.7) id WAA11942; Fri, 9 Jul 1999 22:18:27 +0200 X-Now-Reading: Patricia McKillip's _Winter Rose_ X-Now-Playing: Joe Jackson's _Big World_: "Forty Years" Original-To: ding@gnus.org In-Reply-To: amu@MIT.EDU's message of "09 Jul 1999 15:43:14 -0400" User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/21.2 (Sumida) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ > Seems nice. I've now written the function, but what is the switchover > > point between qp and base64? Math genius wanted! > > *raises hand* Ooh, ooh, call on me! :-) > QP adds an overhead of roughly 2 characters per non-ASCII character. > ("Roughly" because the line-wrapping stuff makes that number slightly > off.) On the other hand, base64 always adds an overhead of 1/3 > character per character. The breakeven point occurs when these > overheads are equal; i.e., when about 1/6 of the characters are non-ASCII. Okidoke; I've now made 0.1666 the limit. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen