diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-24 17:04:45 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-09-24 17:04:45 +0000 |
commit | 45eb8193b7c840d5560c9d6f49ad7dc1454051c2 (patch) | |
tree | 887613adb42bfa27c3693ed2266f2be2088c31ff /charset.c | |
parent | 38a9f98fcb4765642a0103aca6004ce2d63b8236 (diff) |
[patch-0.94.7i.gt.charset-send.1.gz] With the new charset support in
mutt there are better chances to say whether a mail to send consists
of characters of the ASCII set only (the charset should be
"us-ascii" then) or of other characters from the given charset (this
charset should be given then): ASCII characters have the unicode
values from 0 to 127.
Diffstat (limited to 'charset.c')
-rw-r--r-- | charset.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -147,6 +147,9 @@ CHARSET *mutt_get_charset(const char *name) char buffer[SHORT_STRING]; char *real_charset; + if (!name || !*name) + return (NULL); + init_charsets(); canonical_charset(buffer, sizeof(buffer), name); |