Lines Matching refs:data

347 Traditionally, computer data has been moved around in 8-bit chunks
349 networking standards. Perl is widely used to manipulate data of many
351 languages but also "binary" data being the machine's representation of
354 When Perl is processing "binary data", the programmer wants Perl to
375 I<octet>: 8 bits of data, with ordinal values 0..255
397 B<may not be equal to> $string. Though they both contain the same data, the utf8 flag
414 For example, to convert ISO-8859-1 data to a string in Perl's internal format:
419 B<may not be equal to> $octets. Though they both contain the same data,
421 ASCII data (or EBCDIC on EBCDIC machines). See L</"The UTF-8 flag">
430 Converts B<in-place> data between two encodings. The data in $octets
432 format. For example, to convert ISO-8859-1 data to Microsoft's CP1250 encoding:
440 Note that because the conversion happens in place, the data to be
448 from_to($data, "iso-8859-1", "utf8"); #1
449 $data = decode("iso-8859-1", $data); #2
451 Both #1 and #2 make $data consist of a completely valid UTF-8 string
454 $data = encode("utf8", decode("iso-8859-1", $data));
569 If the data is supposed to be UTF-8, an optional lexical warning
581 return the portion of the data that has been processed so far when
582 an error occurs. The data argument will be overwritten with
583 everything after that point (that is, the unprocessed part of data).
585 where your source data may contain partial multi-byte character
589 my $data = ''; my $utf8 = '';
592 $data .= $buffer;
593 $utf8 .= decode($encoding, $data, Encode::FB_QUIET);
594 # $data now contains the unprocessed partial character
673 byte-oriented data they used to work on.
678 character-oriented data when appropriate.
710 unambiguously represent data. Here is the definition of
743 If CHECK is true, also checks the data in STRING for being well-formed
750 [INTERNAL] Turns on the UTF-8 flag in STRING. The data in STRING is