I'm not really sure why this version of the file is still here, but
migrate the UTF-8 BOM fix here as well, so this does not get too far out of sync.
This commit is contained in:
parent
cff7d19ac6
commit
bb4a4de066
@ -1489,6 +1489,7 @@ int initScan(const ENCODING **encodingTable,
|
||||
if (ptr + 2 == end)
|
||||
return XML_TOK_PARTIAL;
|
||||
if ((unsigned char)ptr[2] == 0xBF) {
|
||||
*nextTokPtr = ptr + 3;
|
||||
*encPtr = encodingTable[UTF_8_ENC];
|
||||
return XML_TOK_BOM;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user