Go Back   The macosxhints Forums > Working with OS X > OS X Developer



Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old 08-06-2007, 04:33 PM   #1
Pedro Estarque
Triple-A Player
 
Join Date: Jul 2003
Posts: 159
Input Manager request for Mail.app

I have a problem with Mail.app and ( surprise ) Outlook.
Whenever I want to send HTML or cid imgs plus text, Mail.app breaks the message in 2 parts: the first with the text in UTF-8 and the rest with ISO-8859-1.

Code:
--Apple-Mail-18--183938337
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=UTF-8;
	format=flowed

=C3=A1=C3=A7ento

Abra=C3=A7os
Pedro Estarque



=EF=BF=BC



--Apple-Mail-18--183938337
Content-Type: multipart/related;
	type="text/html";
	boundary=Apple-Mail-19--183938337


--Apple-Mail-19--183938337
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

It seems, however, that Outlook doesn't understand multiple charsets in the same message,so everything gets jammed.

The solution is to choose either UTF-8 or ISO-8859-1 in "Message -> Text Encoding", but you have to set it manually every time, there is no global solution.

The defaults write NS preferred character set trick doesn't help either. I would like to know if it would be very hard to develop an InputManager to allow you to set a default charset for every message send.
Thanks !
Pedro Estarque is offline   Reply With Quote
Old 08-08-2007, 09:41 AM   #2
Pedro Estarque
Triple-A Player
 
Join Date: Jul 2003
Posts: 159
What about an AppleScript ?
I could never get its syntax into my skull but perhaps someone could help me write one ?
something that would check if Mail.app was open and keep setting the msg to its proper charset every 10 sec or so.
I don't know if it can acknowledge that a new msg has been created, that would be even better.
Pedro Estarque is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.