summaryrefslogtreecommitdiffstats
path: root/mbyte.c
AgeCommit message (Collapse)Author
2008-05-05Fix some compiler warnings if compiling without system wide character functionsRocco Rutte
2008-05-05Pass buffer size to mutt_wctoutf8() to prevent crashes if MB_LEN_MAX<6Rocco Rutte
as pointed out by exg on #mutt.
2007-11-20Alternate fix for not calling bind_textdomain_codeset() to fix Solaris build.Rocco Rutte
2007-03-06Remove buggy usage of M_ICONV_HOOK_TO flag in mutt_idna.c:mutt_idna_to_local().Alain Bench
Wipe unwanted code depending on M_ICONV_HOOK_TO in charset.c:mutt_iconv_open(). Totally wipe M_ICONV_HOOK_TO symbol. Remove misusages of M_ICONV_HOOK_FROM flag in: - crypt-gpgme.c:print_utf8(). - mutt_idna.c:mutt_idna_to_local() and mutt_local_to_idna(). - pgp.c:pgp_traditional_encryptsign(). Document usage policy of M_ICONV_HOOK_FROM flag. Cosmetic downcasing of some constant charset names (utf-8, euc-jp) for consistency. Correction of a typo in the "iso8859-5" charset name.
2007-03-06Allow iconv-hook to use virtual charsets as targets. (closes: #1269)Masayuki Moriyama
2006-07-11Fix #2173.TAKAHASHI Tamotsu
2005-09-17Gah, forgot the zip code when updating the FSF address...Brendan Cully
2005-09-17Update FSF address (via sed, I hope nothing got mangled). Closes: #2071.Brendan Cully
2005-07-26There are some functions without ANSI prototypes left in mutt-owned sources.Ralf Wildenhues
2005-02-12Recognize euc-jp-ms. MORIYAMA Masayuki by way of TAKAHASHI Tamotsu.Thomas Roessler
2005-02-03Add config.h to the top of every C file that could possibly want it.Brendan Cully
Remove it from mutt.h
2002-11-12cp932 should be treated like shift_jis.Yasuhiro Matsumoto
2002-03-26Fix iconv warnings; from Edmund Grimley Evans.Thomas Roessler
2001-11-26patch-1.3.23.2.tt.wcwidth_ja.1. Fix wcwidth_ja(), from TakizawaThomas Roessler
Takashi <taki@luna.email.ne.jp>.
2001-06-07Gettext update.Thomas Roessler
2001-03-20Fix a bug in mbrtowc_iconv(). From TAKIZAWA TakashiThomas Roessler
<taki@luna.email.ne.jp>.
2001-01-03More wide-char patches from EGE.Thomas Roessler
2000-12-10More enter.c updates. From E.G.E..Thomas Roessler
2000-12-04A little fix for the -HAVE_WC_FUNCS +LOCALES_HACK case. From EGE.Thomas Roessler
2000-09-11Fix some more character set glitches.Thomas Roessler
2000-08-28This is the patch TAKIZAWA Takashi and I came up with in the end.Edmund GRIMLEY EVANS
When the Charset is euc-jp or shift_jis, iconv is used for mbrtowc and wcrtomb. The worst part is mbrtowc_iconv(), where I attempted to make mbrtowc both restartable (it can process part of multibyte character) and fast in the case where there is nothing left over from a previous character. Also I try to make no assumptions about how those character sets work, which is easy, because I know very little about them ... People who don't use one of those two stateless Japanese display charsets shouldn't be affected. People whose systems provide the wchar_t functions should be even less affected, because they don't even get this code in their binary.
2000-08-15Another charset fix from EGE.Thomas Roessler
2000-07-24Replace wctomb and mbtowc with wcrtomb and mbrtowc. From TAKIZAWAThomas Roessler
Takashi <taki@luna.email.ne.jp>, with small changes from Edmund Grimley Evans.
2000-06-08Removing the built-in charset support.Thomas Roessler
2000-05-25Somewhat different sigsegv fix suggested by EGE.Thomas Roessler
2000-05-25wctomb(0,wc) is needed to work for bounds checking.Thomas Roessler
2000-05-15More iconv-related patches from EGE.Thomas Roessler
2000-05-12Make things compile. ;-)Thomas Roessler
2000-05-12Isprint-related changes. Suggested by Andrew Nosenko, adapted by EGE.Thomas Roessler
2000-05-12wide-character related patches. From Edmund Grimley Evans.Thomas Roessler
2000-05-09Edmund Grimley Evans' UTF-8 patch.Thomas Roessler