in reply to Find illegal ASCII characters
as this misses some ASCII chars, such as 0x0d, that ARE in 'ASCII text range' at least as much as is 0x0a (10d).if ( ($val < 32 && $val != 10 || $val > 126) ) {
Applicability of this nitpick depends on circumstances. Windows relies, for example on 0x0d, 0x0a for CR, LF (\n).
|
|---|