Changeset 30593 for main/trunk/greenstone2/perllib/ghtml.pm
- Timestamp:
- 2016-06-27T18:11:27+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/ghtml.pm
r23371 r30593 219 219 } 220 220 221 221 222 if (defined $code) { 223 224 # malformed UTF-8 character used in UTF-16 225 if($code >= 0xD800 && $code <= 0xDFFF) { 226 print STDERR "Warning: encountered the HTML entity \&#$code; which represents part of a UTF-16 surrogate pair, which is not supported in ghtml::getcharequiv(). Replacing with '?'.\n"; 227 $code = ord("?"); 228 } 229 222 230 # non-standard Microsoft breakage, as usual 223 231 if ($code < 0x9f) { # code page 1252 uses reserved bytes
Note:
See TracChangeset
for help on using the changeset viewer.