[sword-devel] diatheke search type regex and the dot ?
DM Smith
dmsmith at crosswire.org
Mon Mar 6 19:06:13 MST 2017
Does setting CLANG (or whatever it is) in the env help? In unix you have to tell the program what charset you are using.
Cent from my fone so theer mite be tipos. ;)
> On Mar 6, 2017, at 7:52 PM, Karl Kleinpaste <karl at kleinpaste.org> wrote:
>
>> On 03/06/2017 05:25 PM, Greg Hellings wrote:
>> being off by 2 would seem strange to me
> I don't understand this question at all.
>
> 0xE2 = 226 = 0342
> 0x80 = 128 = 0200
> 0x93 = 147 = 0223
>
> There's no off-by error at all.
>
> "od" is the "octal dump" tool; given -c, it tries to dump characters, but outside 7-bit ASCII, it still dumps octal.
>
> For those familiar with dc(1), this will make sense
> $ dc
> 8o
> 226p
> 342
> 128p
> 200
> 147p
> 223
> 16i
> 0XE2p
> 342
> 0X80p
> 200
> 0X93p
> 223
>
> The interesting questions are why C++11 regex can't find en dash, and why non-C++11 regex doesn't understand multibyte.
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20170306/7f4010c5/attachment.html>
More information about the sword-devel
mailing list