git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@59 e385b8ad-14ed-0310-8656-cc95a2468c6d
[apps/madmutt.git] / BEWARE
1 MUTT HACKERS BEWARE
2
3 A word of warning about string comparisons: Since mutt may run in a
4 huge variety of locales, case-insensitive string comparisons and
5 case conversions may be dangerous.  For instance, in iso-8859-9,
6 tolower('I') is DIFFERENT from 'i' - it's indeed the Turkish dotless
7 lowercase i.
8
9 For this reason, always use the ascii_* functions defined in ascii.h
10 and implemented in ascii.c when comparing or handling strings whcih
11 are defined as us-ascii.  This concerns lots of text-based
12 protocols, message header tags, character set names, domain names,
13 e-mail addresses, etc.
14
15 Thu Apr 26 15:40:11 CEST 2001, <roessler@does-not-exist.org>