The small program to calculate age, that follows, usually returns the
right answer. But, given a birthdate of 1981/9/23 it will return:
2003-09-08 21:42:38.591 age[3987] Age = 22 years, -1 months, 15 days
(because it uses 'todays date' to do the calculation, its probably
worth noting that I ran
Sorry about this, please ignore the last UTF8/UTF16 patch, this one
has a slight change which makes it better (but got missed in the
original email). The addition is to consider the high word of the
surrogate pairs as non-spacing. That is a very convenient way for
the rest of the code which does no
> To change the name for the iconv conversion you just need to change the
> function internal_unicode_enc(), which is also in the Unicode.m file.
O.K., somewhat belatedly heres another version of the patch with the code
included for the UTF-16 conversion in iconv(). It takes the approach of
tryi