<?xml version="1.0" encoding="windows-1252"?>
<node id="661741" title="Re^5: How to reverse a (Unicode) string" created="2008-01-10 16:42:50" updated="2008-01-10 11:42:50">
<type id="11">
note</type>
<author id="132236">
Juerd</author>
<data>
<field name="doctext">
&lt;p&gt;The way I expect it to work, is that Unicode strings don't get encodings, but byte buffers and I/O handles do. If you give a Buf an encoding, you can treat it as a Str, as long as the encoding is consistent. Using a real Str may perform much better, because Perl 6 can encode it internally however it wishes, and can make many more assumptions (for optimization purposes).&lt;/p&gt;
&lt;p&gt;Giving a Unicode string an "encoding" property is the wrong way around, but it can take quite some time and experience before one realises that.&lt;/p&gt;</field>
<field name="root_node">
661510</field>
<field name="parent_node">
661571</field>
</data>
</node>
