Detection Of UTF-16 Encoding In Streaming XML Data Without A Byte-Order Mark And Related Printers, Systems, Methods, And Computer Program Products
First Claim
1. A method, comprising automatically determining a UTF-16 encoding scheme in an incoming data stream without a byte-order mark.
7 Assignments
0 Petitions
Accused Products
Abstract
Provided are printers and other electronic devices, systems, methods, and computer program products that automatically detect and determine UTF-16 encoding schemes and endiannesss thereof in an incoming XML data steam for XML declarations without a UTF-16 byte-order mark (BOM) or encoding declaration. This allows for the automatic and unambiguous accurate detection of UTF-16 encoded XML data within a mixed encoding environment, such as from multiple sources using more than one encoding scheme, even when XML data does not start with a BOM or encoding declaration.
28 Citations
19 Claims
- 1. A method, comprising automatically determining a UTF-16 encoding scheme in an incoming data stream without a byte-order mark.
- 12. A electronic device, comprising a processor configured for receiving structure markup language data without a byte-order mark in an incoming data stream and automatically determining a UTF-16 encoding scheme of the structure markup language data without a byte-order mark.
-
19. A printing system, comprising:
-
a first electronic device; a print server communicatively connected to the first electronic device and configured to receive data from the first electronic device in an incoming data stream received by the print server, wherein the printer comprises an XML processor configured to; process the incoming data stream to automatically determine a UTF-16 encoding scheme in the incoming data stream without a byte-order mark, insert a byte-order mark into the incoming data stream identifying the automatically determined UTF-16 encoding scheme of the incoming data stream to create an enhanced incoming data stream, and transmit the enhanced incoming data stream; and a printer communicatively connected to the print server and configured to receive the enhanced incoming data stream.
-
Specification