Subject: Garbled text

From: Michael Haephrati <[email-masked]>
Date: Wed, 12 Jul 1995 01:45:24 +0300

Subject: Garbled text
Newsgroups: comp.mail.pine
Summary:
Keywords:
X-Newsreader: TIN Ýversion 1.2 PL2¨

Subject: Garbled text
Newsgroups: comp.mail.pine
Summary:
Keywords:
X-Newsreader: TIN Ýversion 1.2 PL2¨

Whenever I send message that include text imported from an ASCII file
(edited by 'pico'), I see it ok on screen but most of the people who
receive such message, get it garbled with '=20' at the end of lines.

Another problem:
Sometimes after running the 'spell' process, attempting to 'perform take
address' on more than 50 addresses, Pine terminates stating there is a bug.
Why does this happen and how can I get back without loosing
what I was working on.

Please reply directly to my account.
....................................................
. Michael Haephrati                                .
. 69 Jabotinsky st. Givatayim 53319 ISRAEL         .
. Phone/Fax: + 972 3 315 967                       .
. Email: [email-masked]                    .
....................................................

....................................................
. Michael Haephrati                                .
. 69 Jabotinsky st. Givatayim 53319 ISRAEL         .
. Phone/Fax: + 972 3 315 967                       .
. Email: [email-masked]                    .
....................................................

---

From: Mike Brudenell <[email-masked]>
Date: Thu, 13 Jul 1995 10:06:20 +0100 (BST)

> receive such message, get it garbled with '=20' at the end of lines.

This is because your message text includes one or both of these:

	*  At least one character with an ASCII code out of the "usual"
	   range (32 through 126).
	*  At least one Very Long (several hundred?) characters long.

When either of these is true the message text is encoded using "Quoted 
Printable" encoding, a part of the MIME specification.

When triggered Quoted Printable protects certain characters.  For example,
	*  "Funny" characters are sent as "=XX", where "XX" is their ASCII
	   character code expressed in hexadecimal.
	*  Spaces at ends of lines or wrapped lines get protected ("=20").
	*  Certain control characters normally accepted (eg, Tab) get
	   protected (Tab becomes "=09").

If the recipient is using a MIME-aware mailer then the Quoted Printable 
encoding is automagically undone before the message text is displayed in 
its original glory.  However if the recipient isn't using a MIME-aware 
mailer they get to see all the "=XX" stuff.

One solution is for the sender to make sure they don't trigger Quoted 
Printable encoding when they send the message.  Another solution is for 
the recipient to move to a modern MIME-aware mailer.  :-)

Mike Brudenell                                         <[email-masked]>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

---

From: Michael Haephrati <[email-masked]>
Date: Thu, 13 Jul 1995 13:21:36 +0300 (IDT)

I am attaching the document. Please let me know how can I change it so I 
will be able to include it in email messages sent by Pine.

-Michael.

....................................................
. Michael Haephrati                                .
. 69 Jabotinsky st. Givatayim 53319 ISRAEL         .
. Phone/Fax: + 972 3 315 967                       .
. Email: [email-masked]                    .
....................................................
Michael Haephrati                                
69 Jabotinsky st. Givatayim 53319 ISRAEL
E-Mail Addr: 		
[email-masked]                              
Home Phone/Fax Number: 	+(972-3) 315-967   
Years of Experience:  	14      
 
Objective
_________
Seeking a challenging position as a Project/s Manager which will enable 
me to apply my skills in the following fields:
 
SKILLS SUMMARY
______________          
Hardware/Operating System: 
PC:	I.B.M.: 	Dos¬ OS2¬ Windows 3.11
	Macintosh:	System 7.1¬
 	Amiga:	WorkBench 2 / 3®
Other:	Digital VAXº	Unix¬ Silicon Graphicsº Motif¬ X-Windows,
 			VMS
			 ®
Software / Databases
____________________
MS Project, MS Word, VISIO, ODBC, Data Junction, Access. Oracle 7
          
Programming Language
MS-Windows:	Borland C++¬ Liant¬ Visual Basic
Amiga:		Atzec C¬ Assembler 68000¬ SAS Institute C/C++ 6.5
Macintosh:	Think C ¬ Frontier¬ QuickKeys¬ Director
General: 	Postscript (incl. PDF¬ Adobe Type I and PS->BitMap conversions
		HTML (Web design and programming).          
         
Education History
_________________
Tel-Aviv University
Tel-Aviv, Israel     	
From:	09/08/85    	To: 	09/07/89   Degree: BA
Major: 	Music composing   	Minor: 	Computer Sciences
 
Tichon Hadash school
Tel-Aviv, Israel                     
From: 	09/01/78   	To: 	09/01/82     
Major: 	Computer programming 
             
Additional Education History
Sela Hi Tech school
Bne-Berak, Israel
From: 	12/01/94   	To:     12/25/94
Major:	 C++ programming  	Minor: 	Object Oriented Design       
          
Foreign Languages: Scale = 0 - 10
English=9, Hebrew=10                            
          
Experties
Project leading and management: Detailed Functional Design, Cost and Men 
power evaluation, development of word processing software and Desktop 
Publishing, Graphic User Interface and Man Machine Interface design and 
development, Multi Tasking environment, Real Time, Data bases and 
Information Retrieval systems, Algorithms engineering, Artificial speech, 
Sound processing and engineering, Graphic formats (TIFF, PICT, BMP, 
etc.), 2D and 3D graphics, Object Oriented Programming and design, 
Conversion between file formats (Text->Bitmap, RTF, etc.), Postscript: 
programming and interfacing. Internet expert.
 
Assignments / Experience Summary
________________________________ 
Currently	Seeking for a full time job and currently am working as a 
		designer and developer of Internet and HTML courses for 
		Hi-Tech Microsoft University and write for a computer
		magazine about Internet and C++ development.

1994-1995	Project Manager (Full Time) 	
		3 Information Kiosks projects (incl. responsibility for 2 
		team leaders and 8 programmers and participation in a D.F.D 
		with the client in New Zealand.
		Last Salary: $56K + company car.
 
1994		Project Manager (Contract)	
		Creating Multi-Lingual Postscript interface  for the Amiga and
		converting Macintosh Hebrew fonts to AGFA compugraphic and 
		Adobe Type 1 formats - for Studio Rosenberg
 
1993		Development:	
		Mac PeaCe - a multi-lingual Macintosh -> PC text converter
 
1993		Product Manager:	
		AmigaHASP - protection plug for the Amiga. 
		Idea and knowledge sold to Aladdin LTD. The product is 		
		now marketed world wide.
 
1993		Product Manager:	
		Text<->RTF converters, run under MS-Windows (as a DLL)
 
1993		Development:	
		Developing an interface between Rashumon - the multi lingual 
		graphic word processor and Scala - a multi media authoring 
		system, Scala LTD, Norway
 
1993		Development:	
		Developed a software protection scheme for R.C.I., USA
 
1993		Consultant: 	
		Elbit / Agam Video Wall project in Israel and France
 
1992-1994	Column Writer:
		Established and wrote a column "Amigos"in "People & 
		Computers" - an I.D.C. group high-tech magazine.

1989-1993	General Manager:	
		General Manager and Owner of HarmonySoft - a software
 		house. 
 
1990-1991	Creator:	
		Creation, design and management of Rashumon - a multi
 		lingual graphic word processor for the Amiga. Supports:
 		user friendly MMI, multiple fonts and various languages,
 		import and export of graphics, table generator, math
 		calculations, artificial speech of selected parts of the
 		document,  multiple selections, Postscript level 2 support.
 		Written under SAS C/C++ by 6 programmers and myself.
 
1990		Product developer:	
		MusicPro - Real Time music calculator and composing tool
 		that uses musical knowledge and artificial intelligent		
		techniques.
 
1990		Development:	
		PrintFontEd - a font editor for dot-matrix printers. For Agam
 
1989		Ran a "Music and Computers" workshop in the Tel-Aviv 
		School of Arts
 
1989		Development:	
		Paris: development of Irgunit, an Hebrew database (text and 
		graphics) for Agam
 
1988		Teacher and Co manager:
	 	Computer and Arts School of David Greenberg, Tel-Aviv
 
1988		Programmer:	
		Localization of "The First Step" for the Amiga. Tadiran LTD, 
		Tel-Aviv
 
1988		Technical Writer: 
		wrote a user manual for Micro-Tav. Tadiran LTD, Tel-Aviv
 
1988		Senior programmer:
		Led another programmer developing "Micro-Tav", Hebrew-English
	 	word processor. Tadiran LTD, Tel-Aviv
 
1986-1988	Sales person and Technical supporter: Tadiran LTD, Tel-Aviv
 
1982-1985	Israeli military service. My tasks included operation and 
		programming of computers
 
1980-1982	My first Experience in programming:
	 	during my Computer Sciences studies in Tichon Hadash, Tel-Aviv.
 		wrote a utility to calculate musical scales and an "Eliza" 
		type of program.
                                
Articles referring to my work
_____________________________
Magazine	Country	Date	Name of article			Re
_____________________________________________________________________________
Hadashot	Israel	09/91	Word processor for the Amiga	Rashumon
_____________________________________________________________________________
Ma'ariv		Israel	11/91	Amiga my friend			Rashumon
_____________________________________________________________________________
Yediot  	Israel	11/91	Word processor reads the text	Rashumon
_____________________________________________________________________________
Amazing Amiga	USA	04,92	Rashumon 1.2			Rashumon
_____________________________________________________________________________
Commodore 	Italy	08/92	Word processor multilingue	Rashumon
Gazette		
_____________________________________________________________________________
Amazing Amiga	USA	09,92	Rashumon 1.2D			Rashumon
_____________________________________________________________________________
Amazing Amiga	USA	01,93	1000-Adapter			Parallel port
 								adapter
_____________________________________________________________________________
Amazing Amiga	USA	03,93	MemoPlug			Protection plug
_____________________________________________________________________________
Amiga World	USA	04,93	Write with a twist		Rashumon
_____________________________________________________________________________
Aktuel		Germany	10,93	Textveeraarbeitung fremdsprachig
								Rashumon
_____________________________________________________________________________
HiScore		Denmark	12,93	Opgradering af Rashumon		Rashumon
_____________________________________________________________________________
People & 	Israel	12,93	Harmony in MidEast Politics 
Computers			and Fonts			Multi-lingual
								Postscript fonts
_____________________________________________________________________________
Amazing Amiga	USA	1,94	HarmonySoft Software and 
				Hardware			Protection plug 
				Protection Support
_____________________________________________________________________________
Amazing Amiga	USA	05,94	Multi-lingual Word Processing	Rashumon
_____________________________________________________________________________
Product Guide	USA	-	Rashumon			Rashumon
_____________________________________________________________________________
Amiga User Intl.England	09/94	Rashumon - try and buy		Rashumon
_____________________________________________________________________________

---

From: David L Miller <[email-masked]>
Date: Thu, 13 Jul 1995 11:50:00 -0700 (PDT)

-----BEGIN PGP SIGNED MESSAGE-----

The following excerpt includes several 8-bit characters (pointed to by '^'
on the next line):

                           ^    ^
                                  ^
                               ^
                   ^        ^                 ^      ^
                        VMS
                         ®
                         ^

There are also other occurances, but I didn't look exhaustively...

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, JE-20
4545 15th Ave NE, Seattle WA 98105, USA

On Thu, 13 Jul 1995, Michael Haephrati wrote:

> Date: Thu, 13 Jul 1995 13:21:36 +0300 (IDT)
> From: Michael Haephrati <[email-masked]>
> To: Mike Brudenell <[email-masked]>
> Cc: [email-masked]
> Subject: Re: Garbled text
>

---

From: Mike MacKenzie <[email-masked]>
Date: Thu, 13 Jul 1995 15:10:03 -0500

> 	*  At least one Very Long (several hundred?) characters long.

[snip]

> Mike Brudenell                                         <[email-masked]>

I'vbe been struggling with the same problem, and I have a couple of 
questions about what you say here.

First, in the second cireteria for triggering the MIME translation 
routine It seems you left our a word...  "at least one Very Long..."  
what?  I think you mean a very long *line* but I'm not sure...

Also, I have a question about the which characters will trigger the MIME 
translation routines.  You seem to be saying that any character code less 
than ASCII 32 will trigger it, but aren't newline characters ASCII 13, 
and tab characters 9?  If these characters trigger "Quoted Printable" 
wouldn't every message that is more than one line long be translated this 
way?

Thanks for you help,

Mike MacKenzie
[email-masked]

---

From: Mike Brudenell <[email-masked]>
Date: Fri, 14 Jul 1995 09:43:56 +0100 (BST)

> what?  I think you mean a very long *line* but I'm not sure...

Yup... it should have read:

	*  At least one Very Long line (several hundredr?) characters long.

> wouldn't every message that is more than one line long be translated this 

I was trying to be a little vague as I'v never quite ascertained which 
control characters (ASCII codes less than 32) are "acceptable" (ie, don't 
trigger Quoted Printable) in isolation.

More specifically:

*  You're safe with ASCII characters 32-126

*  You *might* be safe (I don't know: experiment! :-) with ASCII character 
   127 (it's unusual, but not an 8th bit set character code)

*  You *are* safe with certain (all?) characters with ASCII codes less 
   than 32.

So the presence of a Tab (ASCII code 9 (decimal)) does not trigger Quoted 
Printable, for example.

However, *once triggered* by some other condition Quoted Printable *does* 
then protect these usually-acceptable characters.  So if a message is 
encoded in Quoted Printable because, say, an 8th bit set character is 
present, then Tabs *do* get Quoted.

I find it very strange that an "acceptable" character suddenly is deemed 
"unacceptable" because of the presence of some other character elsewhere.

Whether this anomaly lies in the specification of Quoted Printable within 
MIME, or within Pine's implementation of it I don't know.  (I suspect the 
former, as the Pine Team are pretty hot on sticking to specifications as 
a rule -- anyone "in the know" care to comment?)

---

From: Steve Hubert <[email-masked]>
Date: Fri, 14 Jul 1995 11:17:47 -0700 (PDT)

> Mike Brudenell                                         <[email-masked]>

Pine will encode if there are any characters with the 8th bit set, any
null characters, or any lines of 1000 characters or more.  It doesn't
encode because of a character in the range 1-127.  The long line limit
comes from a limit in the SMTP spec.  Also, you can't send 8 bit
characters over standard SMTP, so that's where that comes from.  (ESMTP
will be supported in 3.92.) Like Mike says, once the decision to encode
has been made, then more characters get encoded.  The rules for what gets
encoded all come from RFC1521.  (In 3.92 we'll eliminate trailing spaces
from lines of composed text so that will get rid of the annoying =20's at
the ends of lines.)  We're pretty much encoding only when required, except
for attachments, which we always encode for robustness.

Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle