Closed Bug 172061 Opened 22 years ago Closed 16 years ago

RFE: more automated charset selection on new message composition.

Categories

(MailNews Core :: Composition, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 410333

People

(Reporter: mozilla-bugs, Unassigned)

Details

Curretntly new messages have a default charset and if not all characters fit
into it, I get a warning and have to select charset manually. It would be nice,
if I could specify a *list* of charsets to try anf the message send would pick
the first that contains all the message symbols and only warn if none of
charsets fit.

P.S. My own preference would be "us-ascii, iso-8859-1, koi8-r, utf-8".
I want 7-bit messages to be marked as such, I want 8859-1 messages marked as
such, I want Mozilla to automatically detect if I typed a Russian message that
can be sent in KOI8-R and I want Mozilla to just use Unicode if everything else
fails (or may be not - I'd really like this to be configurable).
Naoki, do you want to take care of this request?
That is for advanced users only (most users have no idea about charset), so no
UI is needed.
The charset fallback backend is already available.

user_pref("intl.fallbackCharsetList.ISO-8859-1", "KOI8-R", "UTF-8");
Assignee: ducarroz → nhotta
I've set

user_pref("mailnews.send_default_charset", "us-ascii");
user_pref("intl.fallbackCharsetList.us-ascii", "ISO-8859-1, KOI8-R, UTF-8");

and it seems to work (except that the pref UI does not really consider
"us-ascii" to be a valid choice for the default send charset, but that's OK).

I just wich there was some document listing all the hidden prefs...
Product: MailNews → Core
=> WFM per reporter's comment 3.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
This WFM _after_ I manually add a custom user_pref. However I do not want to
have to do this for all my friends and relatives who complain to me about this
issue. IMHO at the very minimum there should be a "fall back to UTF-* when
necessary" option.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Assignee: nhottanscp → nobody
Status: REOPENED → NEW
QA Contact: esther → composition
Product: Core → MailNews Core
(In reply to comment #5)
> This WFM _after_ I manually add a custom user_pref. However I do not want to
> have to do this for all my friends and relatives who complain to me about this
> issue. IMHO at the very minimum there should be a "fall back to UTF-* when
> necessary" option.

bug 410333.  duping.

Status: NEW → RESOLVED
Closed: 19 years ago16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.