Welcome to Thunderbird Add-ons.
Add extra features and styles to make Thunderbird your own.Close
Attachemnt Encoding Detector 1.0 Requires Restart
To detect file encoding of attachments, this forces to Thunderbird to use an encoding detector for a specific locale instead of the generic one.
This add-on has been marked as experimental by its developers
This add-on is not compatible with your version of Thunderbird because of the following:
About this Add-on
When I attach plaintext files to a mail, Thunderbird automatically tries to detect their character encoding from their contents, by the commit:
However, because the universal (global, generic) detector is always used, Thunderbird often fails to detect character encoding of files. For example, on a Japanese environment, "Shift_JIS" and "EUC-JP" are wrongly detected as "windows-1252".
This addon forces Thunderbird to use localized encoding detector based on the system language, As the result, plain text files will be attached with correct encoding.
## Steps to test
Note: these steps are just for a Japanese environments. In other languages, they are possibly detected unexpected encodings...
1. Attach samples/*.txt files to a new message.
2. Save it to the Draft folder.
3. Choose "View" => "View Sorce".
4. You'll see detection result for file contents as "Content-Type:text/plain; charset=...." in each header of attachments.
Without this addon, sjis.txt and euc.txt are detected as "windows-1252" unexpectedly.
With this addon, they are correctly detected as Shift_JIS or EUC-JP.