X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=doc%2Fdevel-notes.txt;h=7d238d15c12c22df4c79eb97c9e6fcb887e7257e;hb=f5b0a93af0b948eaeabe061f5e75f686c7eaef79;hp=ccb5e595d4a7dc368c59b8a0ab118637548b6556;hpb=f9906e737c60c89e063c30807214fe88188cc795;p=apps%2Fmadmutt.git diff --git a/doc/devel-notes.txt b/doc/devel-notes.txt index ccb5e59..7d238d1 100644 --- a/doc/devel-notes.txt +++ b/doc/devel-notes.txt @@ -57,7 +57,7 @@ Getting started from SVN Once you've checked out a copy of the source from SVN from svn.berlios.de/svnroot/repos/mutt-ng , you'll need to run the script -called 'prepare' that is in the root directory. The script does all the +called 'autogen.sh' that is in the root directory. The script does all the automake/autoconf magic that needs to be done with a fresh checkout. If all steps succeed, you'll have a configure script to start off with. @@ -140,6 +140,8 @@ similar to [ntg]roff: - \fB switches to boldface + - \fT switches to typewriter (only for SGML and ignored otherwise) + - \fP switches to normal display - \(as can be used to represent an asterisk (*). This is intended @@ -176,3 +178,19 @@ similar to [ntg]roff: This is used to protect indentations in tables. Do _not_ use any other SGML or nroff formatting instructions here! + + +String comparison +----------------- + +A word of warning about string comparisons: Since Mutt-ng may run in a +huge variety of locales, case-insensitive string comparisons and +case conversions may be dangerous. For instance, in iso-8859-9, +tolower('I') is DIFFERENT from 'i' - it's indeed the Turkish dotless +lowercase i. + +For this reason, always use the ascii_* functions defined in ascii.h +and implemented in ascii.c when comparing or handling strings which +are defined as us-ascii. This concerns lots of text-based +protocols, message header tags, character set names, domain names, +e-mail addresses, etc.