<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Actually, I don’t seem to have ever faced the problem of "get characters 3 to 11”. And I’ve dealt with some pretty diverse protocols...<div class=""><br class=""></div><div class="">If I did, I guess I’d use a small function that calls unicode:characters_to_list… extract them and convert the result back to binary!</div><div class=""><br class=""></div><div class="">regs,</div><div class="">/s</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 18, 2015, at 10:25 PM, zxq9 <<a href="mailto:zxq9@zxq9.com" class="">zxq9@zxq9.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><<"binaryではそんなに簡単ではないが、stringの方では問題ないですね。"/utf8>></span></div></blockquote></div><br class=""></div></body></html>