I've put in some changes to io: - interface to query existing layers - move various things around
Not much yet. But:
IO does currently translates to/from utf8 by default, so we need some tweaking here:
Proposal: - create a new string layer that does this {en,de}coding - change the prototypes of PIO_Read to return a STRING* - change the prototypes of PIO_Write to get a STRING* - layer push and pop functions for ParrotIO - we would need some means to define the default layer (i.e. which PIOs do utf8 by default, if any)
Strings that don't go through the string layer get a new flag like encoding_raw_bytes or such denoting a byte encoded buffer.
Comments welcome, leo