Farmail and ISO-8859-1 Table issues for a poor French user

Here you can discuss about your favorite plug-in.
Locked
blokosss
Posts: 12
Joined: Tue Feb 21, 2006 4:12 am

Farmail and ISO-8859-1 Table issues for a poor French user

Post by blokosss »

Hello, Farmail is a powerfull mail client, but it gives me headaches to configure it to have the right caracters for 'é' 'è' 'à' and 'ç' etc... in the header and in the message text.

my setup for farmail:

╔═════════════════════ FARMail options: encodings ═════════════════════╗
║ Charsets: ║
║┌────┬────┬─── ║
║│1( )│A( )│ OEM/Undefined | Do not encode ║
║│ │ │ ║
║│ │ │ Frequently used: FAR Tables: ║
║│2(•)│B(•)│ ISO-8859-1 Western European - ISO-8859-1 (Lat↓║
║│3( )│C( )│ ↓║
║│ │ │ ║
║│ │ │ Additional: ║
║│4( )│D( )│ ↓║
║│5( )│E( )│ ↓║
║│6( )│F( )│ ↓║
║└─┬──┴─┬──┴─── ║
║ │ └──── Default charset for Outgoing messages ║
║ └───────── Default charset for Incoming messages ║
║──────────────────────────────────────────────────────────────────────║
║ [ Ok ] [ Cancel ] ║
╚══════════════════════════════════════════════════════════════════════╝

now i want to send that text by mail : 'élèvé à l'hameçon', and the subject is : 'éèçà'


╔════ Sending as message: ...\template\message.txt ════╗
║ Sender : <user@gmail.com> ↓ ║
║ Recipient : user@cegetel.net ↓ (?) ║
║ CC : ↓ (?) ║
║ BCC : ↓ (?) ║
║ Subject : éèçà ↓ ║
║───────────────────────────────────────────────────────────────║
║ Send : (•) Text as is (8 bit) ( ) HTML as is ║
║ ( ) Text in Base64 ( ) HTML in Base64 ║
║ ( ) Attached file ( ) Extended format ║
║──────────────────────────────┬────────────────────────────────║
║ Original text charset: │ Encode to: ║
║ 1( ) OEM/Undefined │ 6( ) ISO-8859-1 ║
║ 2( ) US-ASCII │ 7( ) ║
║ 3(•) ISO-8859-1 │ 8(•) Do not encode ║
║ 4( ) │ 9( ) ║
║ 5( ) │ ║
║──────────────────────────────┴────────────────────────────────║
║ [ Attached files: 0 ] [ User headers: 0 ] ║
║───────────────────────────────────────────────────────────────║
║ [ Ok ] [ Cancel ] ║
╚═══════════════════════════════════════════════════════════════╝

Sent! next step to my Cegetel mail box: i have a new mail! cool
I open it with internal editor (F4), i choose the good table in editor (shift f8 iso 8859 1), and here's the result:

**************************
Date: Sat, 11 Mar 2006 23:33:12 +0100
From: <user@gmail.com>
Reply-To: <user@gmail.com>
To: user@cegetel.net
Subject: XXXX
X-Mailer: FARMail 3.0.86-20050411-ssl-gcc
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Antivirus: avast! (VPS 0610-2, 10/03/2006), Outbound message
X-Antivirus-Status: Clean
Message-Id: <...@smtp.cegetel.net>
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at mx04.sitadelle.com
X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char E9 hex) in message header 'Subject'
Subject: \351\350\347\340\n ^
X-Spam-Status: No, hits=2.0 tagged_above=-999.0 required=5.0 tests=BAYES_00,
BLANK_LINES_70_80, MY_DSL, SUBJ_ILLEGAL_CHARS
X-Spam-Level: *
X-Antivirus: avast! (VPS 0610-2, 10/03/2006), Inbound message
X-Antivirus-Status: Clean



élèvé à l'hameçon


****************************

WTF is X-Amavis?... why 'bad header'... Indeed, the subject of the mail appears like this in the farmail panel: XXXX instead of éèçà.
At least the text of the message is OK, but i don't understand why I have to change the table each time i open a message, from DOS to iso-8859-1....each time...

Another trouble: today i have received a mail in which every 'é' was '=E9', 'è' was '=E10' etc... and I could'nt solve that changing the table to iso-8859-1 in the editor.

Arghhhhhhhhhhhhhhhhh!!!!!!!!!!

Could someone help me configure once and for all my mail box to receive and send mails in iso-8859-1, without that annoying bugs in encodings and decodings accents...

I thank you very much in advance!!!
User avatar
t-rex
Admin
Posts: 417
Joined: Sun Mar 20, 2005 6:10 pm
Location: Ashdod
Contact:

Post by t-rex »

Well, farmail is a not for everybody mail client. You need to know some stuff before you use it.

To solve the problem with the bad subject you need to use the supplied farmail scripts to create the message - they will automaticaly (after some configuration) encode the subject to base64 which is needed in your case because your mail server does not support 8 bit subjects.

For your other problems what you need to do is to use the MailView plugin to view your mail.
blokosss
Posts: 12
Joined: Tue Feb 21, 2006 4:12 am

Post by blokosss »

Thanks, Adminosaur, for you fast reply!

I'd like to say that i'm proud to be no 'everybody mail client', but I don't even know what you mean by scripts in that case. What's more, I don't know how to use scripts, and I didn't find any word in the farmail help on that.

I use the great Mailview plugin since the begining of my incursion in the 'Far world' (wow, it looks like an exciting title for a $pielberg film), and it lacks an auto-detection for french caracters.

Bye!
User avatar
t-rex
Admin
Posts: 417
Joined: Sun Mar 20, 2005 6:10 pm
Location: Ashdod
Contact:

Post by t-rex »

There is a Scripts sub-plugin supplied with FarMail - FarMail\FMP\Scripts
there are some very powerfull example scripts in the EXAMPLES folder. You need to move them to the SCRIPTS folder (wich you should create) and then run them in the editor by F11->FarMail->Plugins->Scripts
read the help file for the Scripts sub plugin.
blokosss
Posts: 12
Joined: Tue Feb 21, 2006 4:12 am

Post by blokosss »

Ok, Farmail scripts seam to be a powerfull toy to play with. For the message I received with =E9 =E10... caracters in it, the 'decode quoted printable' script is quite effective!

Still some questions:

1/ newbie mode/: "How can I simply start a new empty message in the editor from the navigation panels of far?" /end newbie mode
2/ for the 'reply' script, each time it eats the first 3 lines of the original message, is it normal?
3/ how can i set once and for all the ISO-8859-1 table for reading my mails? The default one is DOS
4/ what the X-Comment-To field does exactly?

many other questions to come!

Pierre
User avatar
t-rex
Admin
Posts: 417
Joined: Sun Mar 20, 2005 6:10 pm
Location: Ashdod
Contact:

Post by t-rex »

1. Well, ShiftF4 temp.msg Enter F11->FarMail->Scripts>New - you can create a macro for this.
2. Yes, it is done to remove greetings and such and it can be configured in the ini file.
3. If you open your messages using MailView (mve:filename.msg) it should open correctly or you can use the [ESC] plugin and configure the editor to always open in this encoding for *.msg or *.eml files.
4. don't mine it, it's commented out, some people need it.
blokosss
Posts: 12
Joined: Tue Feb 21, 2006 4:12 am

Post by blokosss »

Well, Esc plugin's help is in russian, or kind of east language. Since I use Far, I've been thinking of what would be the best solution for me: learn russian once and for all, or try to understand the jam that produces Systran when it translates russian to english! The 'help' docs of many plugins should be in Hebrew, at least I know one or two people that understand it ;)
Sorry for whinning

Pierre
User avatar
t-rex
Admin
Posts: 417
Joined: Sun Mar 20, 2005 6:10 pm
Location: Ashdod
Contact:

Post by t-rex »

Well, I know hebrew as I'm from Israel. 8)
blokosss
Posts: 12
Joined: Tue Feb 21, 2006 4:12 am

Post by blokosss »

hehe, I don't know Ashdod, but i've been to Jerusalem and Eilat, where my father lives.
Locked