Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-27-2007, 05:51 PM   #1
LQ Newbie
Registered: Nov 2005
Location: Burgthann, Germany
Distribution: SuSE
Posts: 15

Rep: Reputation: 0
Script for fixing broken character encodings in emails


I often receive emails that contain an incorrect "Content-Type" header which causes them to be displayed incorrectly in Thunderbird if the encoding auto-detection is enabled.

Is there any filter script out there that tries to figure out the used charset by scanning the mail body and that possibly fixes such encoding inconsistencies?
Old 02-28-2007, 04:37 PM   #2
Registered: May 2001
Location: Belarus
Distribution: Debian
Posts: 120

Rep: Reputation: 15
check enca - it seems to guess charset, so you have to extract content-type from email and pass it to enca as destination charset - and you will (I hope) have both text encodind and content-type header same.


character, encoding, mail, script

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
character encodings sharapchi Slackware 3 05-15-2008 08:20 AM
No luck fixing broken packages dishbert Ubuntu 14 10-08-2006 10:02 PM
Sending and receiving emails with cyrillic character? (squirrelmail, postfix &fedora) Ternet Linux - Software 1 09-19-2006 02:43 AM
Apt-Get i need help fixing broken dependencies turkenator02 SUSE / openSUSE 2 05-11-2006 04:36 AM
fixing or reading a broken FAT partition ?? e1000 Linux - General 1 08-02-2004 01:37 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration