Home > Terms > English, UK (UE) > Maximal subpart of an ill-formed subsequence
Maximal subpart of an ill-formed subsequence
The longest code unit subsequence starting at an unconvertible offset that is either: a. the initial subsequence of a well-formed code unit sequence, or b. a subsequence of length one.
- The term maximal subpart of an ill-formed subsequence can be abbreviated to maximal subpart when it is clear in context that the subsequence in question is ill-formed.
- This definition can be trivially applied to the UTF-32 or UTF-16 encoding forms, but is primarily of interest when converting UTF-8 strings.
- For example, in the ill-formed UTF-8 sequence <41 C0 AF 41 F4 80 80 41>, there are two ill-formed subsequences:
and , each separated by <41>, which is well-formed. Applying the definition of maximal subparts for these ill-formed subsequences, in the first case is a maximal subpart, because that byte value can never be the first byte of a well-formed UTF-8 sequence. In the second subsequence, is a maximal subpart, because up to that point all three bytes match the specification for UTF-8. It is only when followed by <41> that the sequence of can be determined to be ill-formed, because the specification requires a following byte in the range 80..BF, instead.
This is auto-generated content. You can help to improve it.
0
0
Improve it
- Part of Speech: noun
- Synonym(s):
- Blossary:
- Industry/Domain: Computer; Software
- Category: Unicode standard
- Company: Unicode Consortium
- Product:
- Acronym-Abbreviation:
Other Languages:
Member comments
Terms in the News
Featured Terms
Industry/Domain: Software Category: Operating systems
Microsoft Cortana
Microsoft Cortana is an intelligent personal assistant on the Windows Phone 8.1 operating system available on an opt-in basis. Its name comes from ...
Contributor
Featured blossaries
Browers Terms By Category
- General packaging(1147)
- Bag in box(76)
Packaging(1223) Terms
- Biochemistry(4818)
- Genetic engineering(2618)
- Biomedical(4)
- Green biotechnology(4)
- Blue biotechnology(1)
Biotechnology(7445) Terms
- Wedding gowns(129)
- Wedding cake(34)
- Grooms(34)
- Wedding florals(25)
- Royal wedding(21)
- Honeymoons(5)
Weddings(254) Terms
- Chocolate(453)
- Hard candy(22)
- Gum(14)
- Gummies(9)
- Lollies(8)
- Caramels(6)
Candy & confectionary(525) Terms
- Meteorology(9063)
- General weather(899)
- Atmospheric chemistry(558)
- Wind(46)
- Clouds(40)
- Storms(37)