[DELTA] $Revision: 2.41 $ $Date: 2010/12/23 11:05:58 $ lib/Encode/MIME/Header.pm Applied: RT#63387 encode of MIME-Header inserts too much whitespace http://rt.cpan.org/Ticket/Display.html?id=63387 t/Aliases.t lib/Encode/Alias.pm Applied: RT#63286: Various Encode::Alias improvements http://rt.cpan.org/Ticket/Display.html?id=63286
The refactoring of 3b0fc15 inadvertently introduced a bug in Perl_is_utf8_char() and its callers, such as Perl_is_utf8_string(), whereby the beyond-Unicode characters 0x140000 to 0x1fffff were no longer recognised as valid.
cbeaa18 removed the reference to $perlpath
ANYOF_FOLD is now used only under fewer conditions. Otherwise the bitmap of character 0-255 is fully calculated with the folds, and the flag is not set. One condition is under locale, where the folds aren't known at compile time; the other is for things accessible through a swash. By changing the name to its new meaning, certain optimizations become more obvious.
The refactoring of bd29e8c to use Test::More broke the tests on Win32, because it didn't realise that the previous code was relying on the test harness being line ending agnostic.
Despite the compiler's claiming C99 compliance. What we probably really need here is I_STDINT, or perhaps HAVE_INTMAX and HAVE_UINTMAX, determined by Configure and friends. But in any case 07208e0 broke the build, so this gets it going again for now.
This patch adds an option to pv_escape() to dump all characters above ASCII in hex. Before, you could get all chars as hex or the Latin1 non-ASCII as octal, whereas the typical values for these that people think in are given in hex.