URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0af38c86d270d9d4b16397f5c716577a2a448f4d Submitter: "Anders Broman <[email protected]>" Changed: branch: master-3.2 Repository: wireshark
Commits: 0af38c8 by David Perry ([email protected]): packet_xml: detect and handle UTF-16 BOM In the main dissector, check the first 2/3 bytes for recognized Byte-Order Marks (BOM) and decode if detected. In the heuristic check, when unicode heuristics are enabled, check the first 2 bytes for a recognized BOM instead of assuming UCS-2LE. (Still falls back on that if no BOM detected.) Bug: 9069 Change-Id: I7c6510221ef9257a9c3030715906e07b88af6aa7 Reviewed-on: https://code.wireshark.org/review/38076 Reviewed-by: Michael Mann <[email protected]> Petri-Dish: Michael Mann <[email protected]> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <[email protected]> (cherry picked from commit 2ce378f8ab92e6c8d87b9472033a641ea98d3e80) Reviewed-on: https://code.wireshark.org/review/38190 Reviewed-by: Jaap Keuter <[email protected]> Petri-Dish: Jaap Keuter <[email protected]> Actions performed: from 09c8971 editcap: fix time adjustment for ERF add 0af38c8 packet_xml: detect and handle UTF-16 BOM Summary of changes: epan/dissectors/packet-xml.c | 55 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 5 deletions(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <[email protected]> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:[email protected]?subject=unsubscribe
