80 if (utf8) {
GETCHAR(c, ptr); }
else c = *ptr;
84 case 0x000a: *lenptr = 1;
return TRUE;
85 case 0x000d: *lenptr = (ptr < endptr - 1 && ptr[1] == 0x0a)? 2 : 1;
87 default:
return FALSE;
96 case 0x000c: *lenptr = 1;
return TRUE;
97 case 0x000d: *lenptr = (ptr < endptr - 1 && ptr[1] == 0x0a)? 2 : 1;
99 case 0x0085: *lenptr = utf8? 2 : 1;
return TRUE;
101 case 0x2029: *lenptr = 3;
return TRUE;
102 default:
return FALSE;
143 case 0x000a: *lenptr = (ptr > startptr && ptr[-1] == 0x0d)? 2 : 1;
145 case 0x000d: *lenptr = 1;
return TRUE;
146 default:
return FALSE;
151 case 0x000a: *lenptr = (ptr > startptr && ptr[-1] == 0x0d)? 2 : 1;
155 case 0x000d: *lenptr = 1;
return TRUE;
156 case 0x0085: *lenptr = utf8? 2 : 1;
return TRUE;
158 case 0x2029: *lenptr = 3;
return TRUE;
159 default:
return FALSE;