summaryrefslogtreecommitdiff
path: root/lib/encoding.t
Commit message (Collapse)AuthorAgeFilesLines
* Re[2]: [ID 20020307.006] [BUG][use encoding] use encoding 'greek'; print ↵Anton Tagunov2002-03-081-5/+77
| | | | | | | | | "not" unless pack("U*", 0x3af) eq pack("C*", 0xdf) prints "not"! Message-ID: <13946506773.20020308043144@newmail.ru> (one test changed) p4raw-id: //depot/perl@15088
* As suggested by Anton Tagunov, eq and cmp now obey theJarkko Hietaniemi2002-03-071-2/+20
| | | | | | | | | encoding pragma (by remapping their byte argument if the other argument is in Unicode). Also fix a bug found by Anton where ord undef under the encoding pragma would barf. ([ID 20020307.009] A null pointer dereference with 'use encoding') Finally, use the nicer form of sv_recode_to_utf8. p4raw-id: //depot/perl@15085
* To really skip the test an exit() is needed.Jarkko Hietaniemi2002-02-081-0/+1
| | | p4raw-id: //depot/perl@14593
* EBCDIC: the encoding pragma would need some rethinking,Jarkko Hietaniemi2002-02-061-0/+6
| | | | | | probably a pass of EBCDIC->Unicode mapping. For now, disable it on EBCDIC. p4raw-id: //depot/perl@14572
* Implement the encoding pragma for regex literals.Jarkko Hietaniemi2001-11-061-1/+15
| | | p4raw-id: //depot/perl@12864
* More encoding testing.Jarkko Hietaniemi2001-11-021-2/+21
| | | p4raw-id: //depot/perl@12813
* Make encoding and charnames pragmas coexist.Jarkko Hietaniemi2001-11-021-1/+7
| | | p4raw-id: //depot/perl@12804
* Extend the effect of the encoding pragma to chr() and ord().Jarkko Hietaniemi2001-10-311-1/+15
| | | | | | TODO: regex literals, reentrancy problems with the utf8 and charnames pragmas. p4raw-id: //depot/perl@12790
* Enable -Mencoding=foobar also for string literals.Jarkko Hietaniemi2001-10-311-9/+16
| | | p4raw-id: //depot/perl@12782
* Comment nits.Jarkko Hietaniemi2001-10-301-2/+2
| | | p4raw-id: //depot/perl@12775
* Add the encoding pragma to control the "upgrade"Jarkko Hietaniemi2001-10-281-0/+24
from the native eight bit data to Unicode. TODO: \x.. and \0... literals. \N{}. chr()? ord()? p4raw-id: //depot/perl@12750