|
From: | Nordlöw |
Subject: | Re: Checking for ASCII 7-bit Cleaness |
Date: | Tue, 9 Jun 2009 11:50:11 -0700 (PDT) |
User-agent: | G2/1.0 |
In C I would have stepped forward 4 bytes (except for the resting 1-3 bytes of the file of course) and for each such block x then tested that (x & 0x80808080) equals zero. If so the file is 7-bit clean. Could we do something similar with elisp regular expression operations? /Nordlöw
[Prev in Thread] | Current Thread | [Next in Thread] |