<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03/06/2017 05:25 PM, Greg Hellings
wrote:<br>
</div>
<blockquote
cite="mid:CAHxvOV+bn4WpfAmUPQmarZZz-y3tu7tqLyPMOLA2h4t+OdFo8w@mail.gmail.com"
type="cite">being off by 2 would seem strange to me</blockquote>
<font face="FreeSerif">I don't understand this question at all.<br>
<br>
0xE2 = 226 = 0342<br>
0x80 = 128 = 0200<br>
0x93 = 147 = 0223<br>
<br>
There's no off-by error at all.<br>
<br>
"od" is the "octal dump" tool; given -c, it tries to dump
characters, but outside 7-bit ASCII, it still dumps octal.<br>
<br>
For those familiar with dc(1), this will make sense<br>
$ dc<br>
8o<br>
226p<br>
342<br>
128p<br>
200<br>
147p<br>
223<br>
16i<br>
0XE2p<br>
342<br>
0X80p<br>
200<br>
0X93p<br>
223<br>
<br>
The interesting questions are why C++11 regex can't find <i>en
dash</i>, and why non-C++11 regex doesn't understand multibyte.<br>
</font>
</body>
</html>