FileHandle.read and multi-byte encodings

Daniel Arbelo arbelo at gmail.com
Fri Jan 7 18:51:21 UTC 2011


On Fri, Jan 7, 2011 at 3:47 PM, Andrew Whitworth <wknight8111 at gmail.com>wrote:

> I'm strongly in favor of some kind of read() method that respects
> encodings. If we can do it in-place I would prefer that, but adding a
> new method as necessary would be an acceptable second option.


I think we should add a read_chars method along with read_bytes and add a
deprecation notice telling users that read will become a synonym for
read_chars after the next deprecation boundary. That way HLLs can migrate
with no breakage prior to the changes to 'read'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20110107/58636ec1/attachment-0001.html>


More information about the parrot-dev mailing list