On 11/26/2010 2:12 PM, Gisle Aas wrote: > On Nov 26, 2010, at 22:03 , Reverend Chip wrote: >> Hm, would malformed utf8 on stdin come in without validation? I never >> do utf8 I/O so I don't know. > If you use the ':utf8' IO layer then perl just slaps the SvUTF8-flag on whatever it receives. > You need the ':encoding(utf8)' flag for perl to be more careful in its decoding. I think that finishes off the "internal data structure" argument, then.Thread Previous | Thread Next