GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing en.wikipedia.org — Binary Ordered Compression for Unicode - Wikipedia "BOCU" redirects here. For other uses, see BOCU (disambiguation).
Binary Ordered Compression for Unicode (BOCU) is a MIME-compatible Unicode compression scheme. BOCU-1 combines the wide applicability of UTF-8 with the compactness of Standard Compression Scheme for Unicode (SCSU). This Unicode encoding is designed to be useful for compressing short strings, and maintains code point order. BOCU-1 is specified in a Unicode Technical Note.[1] For comparison SCSU, was adopted as standard Unicode compression scheme with a byte-to-codepoint ratio similar to language-specific code pages. SCSU has not been widely adopted, as it is not suitable for MIME "text" media types. For example, SCSU cannot be used directly in emails and similar protocols. SCSU requires a complex encoder design for good performance. Usually, the zip, bzip2, and other industry-standard algorithms compact larger amounts of Unicode text more efficiently.[2] DetailsAll numbers in this section are hexadecimal, and all ranges are inclusive. Code points from
The difference between the current code point and the normalized previous code point is encoded as follows:
Each byte range is lexicographically ordered with the following thirteen byte values excluded: Any ASCII input BOCU-1 offers a similar robustness also for input texts without the above-mentioned values with the special reset code The optional use of a signature In theory UTF-1 and UTF-8 could encode the original UCS-4 set with 31 bits up to PatentPrior to 16 November 2022, the general BOCU algorithm was covered by United States Patent #6,737,994, which also mentions the specific BOCU-1 implementation.[5] This patent has now expired. IBM, which employed both of the inventors of BOCU-1 at the time it was created, stated in the Unicode Technical Note that implementers of a "fully compliant version of BOCU-1" had to contact IBM to request a royalty-free license.[6] BOCU-1 is the only Unicode compression scheme described on the Unicode Web site that is known to have been encumbered with intellectual property restrictions. By contrast, IBM also filed for a patent on UTF-EBCDIC, but it chose in that case to make the documentation and encoding scheme "freely available to anyone concerned towards making the transformation format as part of the UCS standards", instead of requiring implementers to request a license.[7] Not for HTMLW3C and WHATWG HTML standards prohibit supporting BOCU-1 (and SCSU, CESU-8, UTF-7, EBCDIC, and UTF-32) in HTML documents[8][9] because HTML was not designed with non-ASCII-compatible encodings in mind. In the past, cross-site scripting vulnerabilities due to browsers' poor handling of such encodings have been demonstrated.[10] References
See also
| |||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |