If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: encoding.spec.whatwg.org - Encoding Standard.

site address: encoding.spec.whatwg.org redirected to: encoding.spec.whatwg.org

site title: Encoding Standard

Our opinion (on Friday 21 August 2026 18:21:44 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:

Headings (most frequently used words):

decoder, 14, 12, encoder, utf, encodings, legacy, byte, 10, interface, euc, jp, defined, multi, 11, 13, for, single, references, gbk, gb18030, big5, iso, 2022, shift_jis, kr, 16be, user, encoding, hooks, standards, chinese, index, and, mixin, replacement, 16le, terms, by, normative, abstract, table, of, contents, preface, security, background, terminology, indexes, api, the, simplified, traditional, japanese, korean, miscellaneous, 15, browser, ui, implementation, considerations, acknowledgments, intellectual, property, rights, idl, encoders, decoders, names, labels, output, textdecodercommon, textdecoder, textencodercommon, textencoder, textdecoderstream, textencoderstream, common, infrastructure, le, this, specification, reference, non, shared, 16,

Text of the page (most frequently used words):
the (471), and (316), byte (269), iso (226), return (217), index (210), utf (201), #decoder (178), for (169), queue (156), then (155), encoder (141), set (138), encoding (133), codepoint (128), leading (122), code (117), let (117), 8859 (106), pointer (106), 2022 (105), this (104), gb18030 (94), not (92), point (91), error (91), bytes (89), output (83), result (79), windows (78), are (77), with (76), end (70), ioqueue (68), value (64), euc (64), ascii (63), item (62), that (59), android (57), encodings (57), steps (57), null (57), whose (56), these (56), from (55), state (52), legacy (49), given (49), standard (45), 0x00 (45), decode (42), input (42), otherwise (42), false (41), opera (38), chrome (38), safari (38), firefox (38), edge (38), new (38), visualization (38), big5 (37), replacement (36), inclusive (36), label (34), scalar (34), has (34), offset (34), txt (34), encode (33), than (33), runs (33), coverage (33), single (32), surrogate (32), bmp (32), all (31), bom (31), finished (31), range (30), 16be (30), values (30), algorithm (30), textdecoderstream (29), stream (29), shift_jis (29), true (29), used (29), trailing (28), first (28), mode (28), fatal (27), textdecoder (27), continue (27), have (27), textencoderstream (26), interface (26), handler (26), which (26), returns (26), initially (25), options (24), non (24), defined (24), object (24), use (24), constructor (23), optional (23), user (23), restore (23), into (23), textencoder (22), other (22), instance (22), unicode (21), gbk (21), none (20), current (20), engines (20), boolean (20), string (20), jis0208 (20), ranges (20), 0xfe (20), node (19), mobile (19), samsung (19), internet (19), webview (19), ios (19), read (19), html (19), buffer (19), chunk (19), second (19), iso_8859 (19), mdn (18), textdecodercommon (18), url (18), when (18), two (18), 0x81 (18), number (18), will (18), associated (17), run (17), written (16), iso8859 (16), koi8 (16), order (16), labels (16), uint8array (15), specification (15), each (15), sequence (15), third (15), while (15), 0x80 (15), its (15), 0xa1 (15), 0x1b (15), one (15), ignorebom (14), source (14), enqueue (14), boundary (14), needed (14), 16le (14), also (14), content (14), less (14), points (14), they (14), includes (13), defines (13), more (13), unused (13), can (13), strings (13), items (13), attribute (12), convert (12), flush (12), view (12), there (12), multi (12), 0x7e (12), three (12), corresponding (12), algorithms (12), len (12), encoded (12), textencodercommon (11), domstring (11), infra (11), get (11), mac (11), 1252 (11), without (11), seen (11), push (11), roman (11), jis0212 (11), mark (11), 0x28 (11), fffd (11), table (11), below (11), reading (11), their (11), any (11), exposed (10), long (10), mixin (10), https (10), following (10), terms (10), uint32array (10), empty (10), shared (10), process (10), katakana (10), escape (10), those (10), but (10), queues (10), deployed (10), 0x40 (10), 0xa6 (10), running (10), textdecoderoptions (9), destination (9), org (9), whatwg (9), part (9), writable (9), readable (9), transformstream (9), list (9), assert (9), cyrillic (9), fail (9), processing (9), name (9), such (9), api (9), been (9), codeunit (9), either (9), therefore (9), 00a5 (9), data (9), default (9), standards (9), 105 (8), encodeinto (8), usvstring (8), readonly (8), living (8), normative (8), web (8), length (8), transform (8), realm (8), 874 (8), dfn (8), macintosh (8), ignore (8), ibm866 (8), resource (8), using (8), 0x5c (8), 0x7f (8), 0x21 (8), excluding (8), based (8), same (8), method (8), agents (8), must (8), latin1 (8), encoderdecoder (8), transformalgorithm (7), flushalgorithm (7), remove (7), 1258 (7), 1257 (7), 1256 (7), 1255 (7), 1254 (7), 1253 (7), 1251 (7), 1250 (7), upper (7), lower (7), surrogates (7), start (7), was (7), found (7), rather (7), 0x41 (7), 0x42 (7), operation (7), indexes (7), column (7), chinese (7), 0x30 (7), 126 (7), see (7), existing (7), bits (7), least (7), chunks (7), objects (7), var (7), does (7), hooks (7), block (7), last (7), textencoderencodeintoresult (6), dictionary (6), character (6), references (6), throw (6), typeerror (6), case (6), append (6), relevant (6), serialize (6), returned (6), definition (6), could (6), would (6), browsers (6), due (6), browser (6), between (6), supported (6), 190 (6), 0xff61 (6), 203e (6), only (6), compatibility (6), cannot (6), well (6), greater (6), 0xf0 (6), left (6), 0xbf (6), particular (6), them (6), before (6), outputchunk (6), bufferstart (6), way (6), streaming (6), different (6), bytes_per_element (6), some (6), need (6), formats (6), software (6), generictransformstream (5), unsigned (5), textdecodeoptions (5), allowsharedbuffersource (5), idl (5), xml (5), van (5), spec (5), latin (5), rangeerror (5), pipethrough (5), unit (5), getting (5), being (5), encoders (5), decoders (5), implementation (5), encouraged (5), byte1 (5), byte2 (5), common (5), prevent (5), 0x3f (5), 0x9f (5), 0xa0 (5), decoding (5), through (5), both (5), 157 (5), four (5), might (5), names (5), nothing (5), here (5), count (5), equal (5), significant (5), argument (5), buffersize (5), writeoffset (5), implementations (5), example (5), previous (5), support (5), caller (5), schemes (5), type (5), entries (5), matches (5), 1987 (5), www (4), anne (4), kesteren (4), information (4), webidl (4), streams (4), copy (4), converted (4), arraybuffer (4), readablestream (4), contain (4), break (4), should (4), instead (4), make (4), over (4), 0x24 (4), implemented (4), feature (4), security (4), leadingsurrogate (4), korean (4), leadingoffset (4), ff9f (4), 0xe0 (4), 0xdf (4), 8836 (4), pointers (4), letter (4), circumflex (4), row (4), listed (4), above (4), 0xef (4), creating (4), units (4), takes (4), available (4), sharedarraybuffer (4), errormode (4), failure (4), throws (4), readoffset (4), getter (4), memory (4), handling (4), uses (4), followed (4), javascript (4), combination (4), hook (4), potentialerror (4), bomencoding (4), most (4), pushed (4), represent (4), form (4), private (4), mapped (4), were (4), compatible (4), hangul (4), follows (4), immediately (4), expose (4), provide (4), mappings (4), logical (4), 1988 (4), readitems (4), allowshared (3), newobject (3), coded (3), sets (3), ecmascript (3), create (3), starts (3), size (3), insert (3), insensitive (3), parallel (3), text (3), dict (3), member (3), sniff (3), many (3), simon (3), making (3), identical (3), considerations (3), present (3), aforementioned (3), issues (3), infrastructure (3), attacks (3), miscellaneous (3), 188 (3), 0x1f (3), 2212 (3), ff0d (3), ff61 (3), known (3), 0x4a (3), 005c (3), results (3), 0x0e (3), 0x0f (3), 0x8e (3), 0x8f (3), japanese (3), traditional (3), 20ac (3), maps (3), 3000 (3), 0x39 (3), simplified (3), where (3), match (3), per (3), six (3), appropriate (3), converting (3), typically (3), resulting (3), offers (3), lowercased (3), function (3), take (3), increment (3), invoked (3), requires (3), care (3), strongly (3), changes (3), give (3), num_strings (3), dataview (3), containing (3), format (3), back (3), terminology (3), returning (3), pass (3), percent (3), 0xff (3), except (3), until (3), entirety (3), json (3), duplicate (3), extensions (3), map (3), jis (3), whereas (3), mapping (3), cjk (3), unified (3), lines (3), developers (3), chosen (3), original (3), always (3), did (3), broadly (3), however (3), protocols (3), issue (3), prefix (3), network (3), shifts (3), language (2), published (2), technology (2), bit (2), interchange (2), iso646 (2), adam (2), rice (2), domenic (2), denicola (2), multipage (2), write (2), startingoffset (2), prepend (2), isomorphic (2), whitespace (2), event (2), loop (2), reference (2), peek (2), review (2), apple (2), google (2), work (2), licensed (2), under (2), extent (2), portions (2), license (2), intellectual (2), property (2), rights (2), chapter (2), joshua (2), bell (2), annevk (2), ken (2), nigel (2), philip (2), people (2), helped (2), interoperable (2), acknowledgments (2), needs (2), additional (2), require (2), next (2), possible (2), supporting (2), option (2), decoded (2), 0xf780 (2), separately (2), priority (2), accurate (2), exists (2), server (2), 0xc1 (2), 0080 (2), 0xfc (2), nature (2), doing (2), yields (2), multiple (2), 0x62 (2), since (2), small (2), caron (2), 00ea (2), 030c (2), macron (2), 0304 (2), capital (2), 00ca (2), notes (2), byte4 (2), byte3 (2), 2005 (2), 0x90 (2), 0xed (2), 0xa3 (2), ideographic (2), space (2), e5e5 (2), decrease (2), because (2), historically (2), depends (2), unique (2), temp (2), ffff (2), behavior (2), even (2), increase (2), shift (2), 0xf4 (2), equivalent (2), split (2), pipeto (2), via (2), accepts (2), supports (2), warning (2), buffersource (2), arguments (2), callback (2), free (2), various (2), details (2), made (2), getters (2), works (2), invocation (2), step (2), required (2), programming (2), languages (2), implementing (2), sure (2), times (2), rest (2), platform (2), control (2), getuint32 (2), array (2), bytelength (2), setuint32 (2), section (2), suitable (2), representing (2), invoke (2), again (2), syntax (2), means (2), forms (2), top (2), errors (2), 0xbb (2), peeking (2), anything (2), fallback (2), directly (2), likely (2), turn (2), sequences (2), within (2), able (2), hong (2), kong (2), supplementary (2), contains (2), causes (2), pointeroffset (2), e7c7 (2), 7457 (2), codepointoffset (2), proprietary (2), others (2), represented (2), revision (2), handled (2), further (2), covers (2), ideographs (2), together (2), 949 (2), syllables (2), pua (2), alternative (2), basic (2), changed (2), identifier (2), find (2), splitting (2), contents (2), hexadecimal (2), libraries (2), answers (2), undefined (2), specified (2), iec (2), similarly (2), asked (2), inclusion (2), ucs (2), ks_c_5601 (2), 1989 (2), sjis (2), gb_2312 (2), cp1258 (2), cp1257 (2), cp1256 (2), cp1255 (2), cp1254 (2), cp1253 (2), cp1252 (2), cp1251 (2), cp1250 (2), ecma (2), unicode20utf8 (2), contexts (2), exclusively (2), lists (2), loss (2), differ (2), wrapper (2), ways (2), expected (2), 0x92 (2), 0xa9 (2), perform (2), wait (2), comes (2), immediate (2), right (2), numbers (2), integer (2), division (2), bitwise (2), now (2), attack (2), ongoing (2), producer (2), consumer (2), mask (2), illegal (2), 0022 (2), background (2), registry (2), preface (2), tests (2), github (2), commits (2), tim, bray, november, 2008, rec, extensible, markup, fifth, edition, april, 1998, 28245, graphic, alphabet, december, 1991, 4777, edgar, chen, timothy, versions, latest, tc39, ecma262, lowercase, interested, patent, version, draft, copyright, mozilla, microsoft, incorporated, bsd, clause, creative, commons, attribution, international, thanks, alan, chaney, alexander, shtuchkin, allen, wirfs, brock, andreu, botella, aneesh, agrawal, arkadiusz, michalski, asmus, freytag, ben, noordhuis, bnaya, peretz, boris, zbarsky, bruno, haible, cameron, mccormack, charles, mccathieneville, christopher, foo, codifiernl, david, carlisle, dominique, hazaël, massieux, doug, ewell, erik, der, poel, 譚永鋒, frank, yung, fong, tang, glenn, maynard, gordon, hemsley, henri, sivonen, ian, hickson, king, james, graham, jeffrey, yasskin, john, tamplin, 村井純, jun, murai, 신정식, jungshik, shin, jxck, kang, seonghoon, 川幡太一, kawabata, taichi, lunde, whistler, kenneth, russell, 田村健人, kent, tamura, leif, halvard, silli, luke, wagner, maciej, hirsz, makoto, kato, callow, crispin, davis, martin, dürst, masatoshi, kimura, mattias, buelens, ms2ger, megitt, tao, norbert, lindenberg, øistein, andersen, peter, krefting, jägenstedt, taylor, richard, ishida, robbert, broersma, robert, mustacchi, ryan, dahl, sam, sneddon, shawn, steele, montagu, pieters, sapin, stephen, checkoway, 寺田健, takeshi, terada, vyacheslav, matva, wolf, lammen, 成瀬ゆい, yui, naruse, awesome, lot, years, thereby, furthered, goals, likewise, what, today, buffers, hitting, bogus, moved, checked, after, emptied, ability, unread, arbitrary, enable, overriding, nonetheless, offer, disable, f780, f7ff, technically, algorithmically, deal, 0x00ff, certain, abuse, mismatch, client, eudc, 10715, 0xe000, 007e, 000e, 000f, 001b, gives, twice, concatenating, concatenation, outputs, 0x49, 0x5f, switching, limited, 1166, 1164, 1135, 1133, irrelevant, asymmetric, preserves, explanation, e864, e854, e843, 0x6d, e832, 0x67, e82c, 0x66, e82b, 0x61, e826, 0x59, e81e, 0xf3, e796, e795, 0xec, e794, e793, 0xde, e792, 0xdd, e791, 0xdc, e790, 0xdb, e78f, 0xda, e78e, 0xd9, e78d, roundtrip, fully, aliasing, conservative, move, chances, breaking, servers, consumers, generated, distinct, influence, layout, direction, although, longer, share, referenced, described, included, completeness, 10000, 10ffff, 0800, 0xc0, 07ff, constraints, best, practices, permitted, achieve, fine, places, newly, vacated, 0x7, 0xf, five, 0xc2, 0xbd, allows, pairs, executing, pair, reassembled, lone, replaced, textreadable, bytewritable, handles, errored, bytereadable, textwritable, convertstring, malloc, cachedencoder, substring, realloc, const, 256, exercise, reader, demonstrates, approach, stores, progress, wherein, modified, buffering, handle, subsequent, anew, preserved, adhere, race, freedom, properties, model, facilities, accessing, strategy, avoids, affect, future, calls, next_chunk, zero, once, fragmented, clearest, omit, intentionally, respect, users, feff, decodearrayofstrings, decodes, produced, encodearrayofstrings, supplying, upon, reason, applications, unintended, purposes, ought, css, contrast, u2603, keep, alive, states, emits, layering, safe, never, triggers, workaround, fact, communicate, provided, rows, starting, going, down, cell, authoritative, else, context, http, violation, semantics, header, sniffing, extremely, niche, custom, discouraged, needing, another, consumed, tokens, callers, note, during, ever, ensure, effectively, identifiers, protocol, intended, usage, slightly, 2550, 255e, 2561, 256a, 5341, 5345, avoid, literally, exclusion, later, 8272, 8835, 39419, 189000, 1237575, halfwidth, fullwidth, normalization, ff9e, 309b, 309c, 3099, 309a, 0212, lack, widespread, elsewhere, 0208, including, formerly, ibm, nec, listing, million, neatly, 207, combined, trivial, limit, checks, superficially, 2000, change, inline, accompany, differently, side, preserve, how, 1001, commonly, codepage, corner, 9026, taken, too, own, extension, ideograph, already, earlier, unmapped, legend, visualizations, additionally, multilingual, plane, signify, date, 000a, 0023, 0009, tab, subitem, decimal, subitems, efficient, optimized, ordered, entry, consisting, duplicated, useful, parsing, submission, exactly, implementers, careful, whenever, apis, very, line, behaviors, specifications, follow, root, document, documents, 646, among, according, superset, choice, codified, confusing, seeks, synonyms, just, primarily, intersection, major, development, started, removing, rarely, legitimately, questionable, light, anecdotal, evidence, level, unclear, effort, eagerly, series, necessity, doubtful, purpose, plans, unicodefeff, 10646, csunicode, unicodefffe, ext, 2312, csiso2022kr, ksc_5601, ksc5601, 149, csksc56011987, cseuckr, 31j, ms_kanji, ms932, csshiftjis, csiso2022jp, cseucpkdfmtjapanese, csbig5, hkscs, gb2312, csiso58gb231280, csgb2312, ukrainian, latin5, iso88599, 148, csisolatin5, iso88591, 100, ibm819, csisolatin1, cp819, ansi_x3, 1968, relationship, historical, concepts, tis, 620, iso885911, dos, csmacintosh, koi8_r, koi, cskoi8r, iso885915, csisolatin9, iso885914, iso885913, latin6, iso885910, csisolatin6, csiso88598i, visual, iso88598, 138, hebrew, csisolatinhebrew, csiso88598e, sun_eu_greek, iso88597, greek8, greek, elot_928, 118, csisolatingreek, iso88596, 127, 114, csisolatinarabic, csiso88596i, csiso88596e, asmo, 708, arabic, iso88595, 144, csisolatincyrillic, latin4, iso88594, 110, csisolatin4, latin3, iso88593, 109, csisolatin3, latin2, iso88592, 101, csisolatin2, csibm866, cp866, 866, utf8, unicode11utf8, restrictive, prescribes, necessary, technical, authors, identify, lowercasing, 0x26, 0x23, shortest, base, ten, 0x3b, switch, requiring, terminating, emitted, distinguished, legitimate, lead, silent, happening, processor, instances, optionally, themselves, combine, named, scheme, vice, versa, obtain, 0x10000, 0xd800, 0xdc00, internal, detail, implement, detailed, define, around, conversions, 319, indefinite, inserting, whichever, created, underlying, closes, stored, coming, special, signifies, operands, twenty, precision, equations, integers, addition, subtraction, multiplication, quotient, modulo, remainder, prefixed, problems, outlined, away, reasons, mandatory, things, urls, slight, distinguish, entering, larger, something, incompatible, unfortunately, investigation, whether, unknown, injecting, carefully, crafted, encouraging, override, script, execution, agree, reported, 2011, 0x82, 0x22, attacker, field, problem, though, overall, interpretation, important, delimiter, 0000, 007f, masked, unfortunate, exception, significantly, deviated, stop, spreading, exhaustive, about, mechanism, extending, aspect, iana, canonical, identifying, past, often, dealing, former, areas, addresses, gaps, reverse, engineer, converge, universal, abstract, 한국어, 简体中文, 日本語, translations, snapshot, commit, chat, matrix, open, participate, updated, may, 2026,


Text of the page (random words):
which is a boolean initially false decoder new textdecoder label utf 8 options returns a new textdecoder object if label is either not a label or is a label for replacement throws a rangeerror decoder encoding returns encoding s name lowercased decoder fatal returns true if error mode is fatal otherwise false decoder ignorebom returns the value of ignore bom decoder decode input options returns the result of running encoding s decoder the method can be invoked zero or more times with options s stream set to true and then once without options s stream or set to false to process a fragmented input if the invocation without options s stream or set to false has no input it s clearest to omit both arguments var string decoder new textdecoder encoding buffer while buffer next_chunk string decoder decode buffer stream true string decoder decode end of queue if the error mode is fatal and encoding s decoder returns error throws a typeerror the new textdecoder label options constructor steps are let encoding be the result of getting an encoding from label if encoding is failure or replacement then throw a rangeerror set this s encoding to encoding if options fatal is true then set this s error mode to fatal set this s ignore bom to options ignorebom the decode input options method steps are if this s do not flush is false then set this s decoder to a new instance of this s encoding s decoder this s i o queue to the i o queue of bytes end of queue and this s bom seen to false set this s do not flush to options stream if input is given then push a copy of input to this s i o queue implementations are strongly encouraged to use an implementation strategy that avoids this copy when doing so they will have to make sure that changes to input do not affect future calls to decode the memory exposed by sharedarraybuffer objects does not adhere to data race freedom properties required by the memory model of programming languages typically used for implementations when implementing take care to use the appropriate facilities when accessing memory exposed by sharedarraybuffer objects let output be the i o queue of scalar values end of queue while true let item be the result of reading from this s i o queue if item is end of queue and this s do not flush is true then return the result of running serialize i o queue with this and output the way streaming works is to not handle end of queue here when this s do not flush is true and to not set it to false that way in a subsequent invocation this s decoder is not set anew in the first step of the algorithm and its state is preserved otherwise let result be the result of processing an item with item this s decoder this s i o queue output and this s error mode if result is finished then return the result of running serialize i o queue with this and output otherwise if result is error throw a typeerror 7 3 interface mixin textencodercommon interface mixin textencodercommon readonly attribute domstring encoding the textencodercommon interface mixin defines common getters that are shared between textencoder and textencoderstream objects the encoding getter steps are to return utf 8 7 4 interface textencoder dictionary textencoderencodeintoresult unsigned long long read unsigned long long written exposed interface textencoder constructor newobject uint8array encode optional usvstring input textencoderencodeintoresult encodeinto usvstring source allowshared uint8array destination textencoder includes textencodercommon a textencoder object offers no label argument as it only supports utf 8 it also offers no stream option as no encoder requires buffering of scalar values encoder new textencoder returns a new textencoder object encoder encoding returns utf 8 encoder encode input returns the result of running utf 8 s encoder encoder encodeinto source destination runs the utf 8 encoder on source stores the result of that operation into destination and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination the new textencoder constructor steps are to do nothing the encode input method steps are convert input to an i o queue of scalar values let output be the i o queue of bytes end of queue while true let item be the result of reading from input let result be the result of processing an item with item an instance of the utf 8 encoder input output and fatal assert result is not an error the utf 8 encoder cannot return error if result is finished then return the result of creating a uint8array object given output and this s relevant realm the encodeinto source destination method steps are let read be 0 let written be 0 let encoder be an instance of the utf 8 encoder let unused be the i o queue of scalar values end of queue the handler algorithm invoked below requires this argument but it is not used by the utf 8 encoder convert source to an i o queue of scalar values while true let item be the result of reading from source let result be the result of running encoder s handler on unused and item if result is finished then break otherwise if destination s byte length written is greater than or equal to the number of bytes in result if item is greater than u ffff then increment read by 2 otherwise increment read by 1 write the bytes in result into destination with startingoffset set to written see the warning for sharedarraybuffer objects above increment written by the number of bytes in result otherwise break return read read written written the encodeinto method can be used to encode a string into an existing arraybuffer object various details below are left as an exercise for the reader but this demonstrates an approach one could take to use this method function convertstring buffer input callback let buffersize 256 bufferstart malloc buffer buffersize writeoffset 0 readoffset 0 while true const view new uint8array buffer bufferstart writeoffset buffersize writeoffset read written cachedencoder encodeinto input substring readoffset view readoffset read writeoffset written if readoffset input length callback bufferstart writeoffset free buffer bufferstart return buffersize 2 bufferstart realloc buffer bufferstart buffersize 7 5 interface textdecoderstream exposed interface textdecoderstream constructor optional domstring label utf 8 optional textdecoderoptions options textdecoderstream includes textdecodercommon textdecoderstream includes generictransformstream decoder new textdecoderstream label utf 8 options returns a new textdecoderstream object if label is either not a label or is a label for replacement throws a rangeerror decoder encoding returns encoding s name lowercased decoder fatal returns true if error mode is fatal and false otherwise decoder ignorebom returns the value of ignore bom decoder readable returns a readable stream whose chunks are strings resulting from running encoding s decoder on the chunks written to writable decoder writable returns a writable stream which accepts allowsharedbuffersource chunks and runs them through encoding s decoder before making them available to readable typically this will be used via the pipethrough method on a readablestream source var decoder new textdecoderstream encoding bytereadable pipethrough decoder pipeto textwritable if the error mode is fatal and encoding s decoder returns error both readable and writable will be errored with a typeerror the new textdecoderstream label options constructor steps are let encoding be the result of getting an encoding from label if encoding is failure or replacement then throw a rangeerror let errormode be fatal if options fatal is true otherwise replacement set up a text decoder stream with this encoding errormode and options ignorebom to set up a text decoder stream given a textdecoderstream object stream an optional encoding encoding default utf 8 an optional error mode errormode default replacement and an optional boolean ignorebom default false run these steps assert encoding is not replacement set stream s encoding to encoding set stream s error mode to errormode set stream s ignore bom to ignorebom set stream s decoder to a new instance of encoding s decoder set stream s i o queue to a new i o queue let transformalgorithm be an algorithm which takes a chunk argument and runs the decode and enqueue a chunk algorithm with stream and chunk let flushalgorithm be an algorithm which takes no arguments and runs the flush and enqueue algorithm with stream let transformstream be a new transformstream set up transformstream with transformalgorithm set to transformalgorithm and flushalgorithm set to flushalgorithm set stream s transform to transformstream the decode and enqueue a chunk algorithm given a textdecoderstream object decoder and a chunk runs these steps let buffersource be the result of converting chunk to an allowsharedbuffersource push a copy of buffersource to decoder s i o queue see the warning for sharedarraybuffer objects above let output be the i o queue of scalar values end of queue while true let item be the result of reading from decoder s i o queue if item is end of queue let outputchunk be the result of running serialize i o queue with decoder and output if outputchunk is not the empty string then enqueue outputchunk in decoder s transform return let result be the result of processing an item with item decoder s decoder decoder s i o queue output and decoder s error mode if result is error then throw a typeerror the flush and enqueue algorithm which handles the end of data from the input readablestream object given a textdecoderstream object decoder runs these steps let output be the i o queue of scalar values end of queue while true let item be the result of reading from decoder s i o queue let result be the result of processing an item with item decoder s decoder decoder s i o queue output and decoder s error mode if result is finished let outputchunk be the result of running serialize i o queue with decoder and output if outputchunk is not the empty string then enqueue outputchunk in decoder s transform return otherwise if result is error throw a typeerror 7 6 interface textencoderstream exposed interface textencoderstream constructor textencoderstream includes textencodercommon textencoderstream includes generictransformstream a textencoderstream object has an associated encoder an encoder instance leading surrogate null or a leading surrogate initially null a textencoderstream object offers no label argument as it only supports utf 8 encoder new textencoderstream returns a new textencoderstream object encoder encoding returns utf 8 encoder readable returns a readable stream whose chunks are uint8array s resulting from running utf 8 s encoder on the chunks written to writable encoder writable returns a writable stream which accepts string chunks and runs them through utf 8 s encoder before making them available to readable typically this will be used via the pipethrough method on a readablestream source textreadable pipethrough new textencoderstream pipeto bytewritable the new textencoderstream constructor steps are set this s encoder to an instance of the utf 8 encoder let transformalgorithm be an algorithm which takes a chunk argument and runs the encode and enqueue a chunk algorithm with this and chunk let flushalgorithm be an algorithm which runs the encode and flush algorithm with this let transformstream be a new transformstream set up transformstream with transformalgorithm set to transformalgorithm and flushalgorithm set to flushalgorithm set this s transform to transformstream the encode and enqueue a chunk algorithm given a textencoderstream object encoder and chunk runs these steps let input be the result of converting chunk to a domstring convert input to an i o queue of code units domstring as well as an i o queue of code units rather than scalar values are used here so that a surrogate pair that is split between chunks can be reassembled into the appropriate scalar value the behavior is otherwise identical to usvstring in particular lone surrogates will be replaced with u fffd let output be the i o queue of bytes end of queue while true let item be the result of reading from input if item is end of queue convert output into a byte sequence if output is not empty let chunk be the result of creating a uint8array object given output and encoder s relevant realm enqueue chunk into encoder s transform return let result be the result of executing the convert code unit to scalar value algorithm with encoder item and input if result is not continue then process an item with result encoder s encoder input output and fatal the convert code unit to scalar value algorithm given a textencoderstream object encoder a code unit item and an i o queue of code units input runs these steps if encoder s leading surrogate is non null let leadingsurrogate be encoder s leading surrogate set encoder s leading surrogate to null if item is a trailing surrogate then return a scalar value from surrogates given leadingsurrogate and item restore item to input return u fffd if item is a leading surrogate then set encoder s leading surrogate to item and return continue if item is a trailing surrogate then return u fffd return item this is equivalent to the convert a string into a scalar value string algorithm from the infra standard but allows for surrogate pairs that are split between strings infra the encode and flush algorithm given a textencoderstream object encoder runs these steps if encoder s leading surrogate is non null let chunk be the result of creating a uint8array object given 0xef 0xbf 0xbd and encoder s relevant realm this is u fffd in utf 8 bytes enqueue chunk into encoder s transform 8 the encoding 8 1 utf 8 8 1 1 utf 8 decoder a byte order mark has priority over a label as it has been found to be more accurate in deployed content therefore it is not part of the utf 8 decoder algorithm but rather the decode and utf 8 decode algorithms utf 8 s decoder has an associated utf 8 code point utf 8 bytes seen utf 8 bytes needed each a number initially 0 utf 8 lower boundary a byte initially 0x80 utf 8 upper boundary a byte initially 0xbf utf 8 s decoder s handler given ioqueue and byte runs these steps if byte is end of queue and utf 8 bytes needed is not 0 then set utf 8 bytes needed to 0 and return error if byte is end of queue then return finished if utf 8 bytes needed is 0 based on byte 0x00 to 0x7f return a code point whose value is byte 0xc2 to 0xdf set utf 8 bytes needed to 1 set utf 8 code point to byte 0x1f the five least significant bits of byte 0xe0 to 0xef if byte is 0xe0 then set utf 8 lower boundary to 0xa0 if byte is 0xed then set utf 8 upper boundary to 0x9f set utf 8 bytes needed to 2 set utf 8 code point to byte 0xf the four least significant bits of byte 0xf0 to 0xf4 if byte is 0xf0 then set utf 8 lower boundary to 0x90 if byte is 0xf4 then set utf 8 upper boundary to 0x8f set...
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)
  • WHATWG

Verified site has: 102 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-55 56-60 61-65 66-70 71-75 76-80 81-85 86-90 91-95 96-100
101-102


The site also has references to the 1 subdomain(s)

  whatwg.org  Verify


The site also has 36 references to other resources (not html/xhtml )

 encoding.spec.whatwg.org/encodings.json  Verify  encoding.spec.whatwg.org/index-big5.txt  Verify  encoding.spec.whatwg.org/index-euc-kr.txt  Verify
 encoding.spec.whatwg.org/index-gb18030.txt  Verify  encoding.spec.whatwg.org/index-gb18030___.txt  Verify  encoding.spec.whatwg.org/index-jis0208.txt  Verify
 encoding.spec.whatwg.org/index-jis0212.txt  Verify  encoding.spec.whatwg.org/index-iso-202___.txt  Verify  encoding.spec.whatwg.org/indexes.json  Verify
 encoding.spec.whatwg.org/index-ibm866.txt  Verify  encoding.spec.whatwg.org/index-iso-8859-2.txt  Verify  encoding.spec.whatwg.org/index-iso-8859-3.txt  Verify
 encoding.spec.whatwg.org/index-iso-8859-4.txt  Verify  encoding.spec.whatwg.org/index-iso-8859-5.txt  Verify  encoding.spec.whatwg.org/index-iso-8859-6.txt  Verify
 encoding.spec.whatwg.org/index-iso-8859-7.txt  Verify  encoding.spec.whatwg.org/index-iso-8859-8.txt  Verify  encoding.spec.whatwg.org/index-iso-885___.txt  Verify
 encoding.spec.whatwg.org/index-iso-885___.txt  Verify  encoding.spec.whatwg.org/index-iso-885___.txt  Verify  encoding.spec.whatwg.org/index-iso-885___.txt  Verify
 encoding.spec.whatwg.org/index-iso-885___.txt  Verify  encoding.spec.whatwg.org/index-koi8-r.txt  Verify  encoding.spec.whatwg.org/index-koi8-u.txt  Verify
 encoding.spec.whatwg.org/index-macintosh.txt  Verify  encoding.spec.whatwg.org/index-windows___.txt  Verify  encoding.spec.whatwg.org/index-windows___.txt  Verify
 encoding.spec.whatwg.org/index-windows___.txt  Verify  encoding.spec.whatwg.org/index-windows___.txt  Verify  encoding.spec.whatwg.org/index-windows___.txt  Verify
 encoding.spec.whatwg.org/index-windows___.txt  Verify  encoding.spec.whatwg.org/index-windows___.txt  Verify  encoding.spec.whatwg.org/index-windows___.txt  Verify
 encoding.spec.whatwg.org/index-windows___.txt  Verify  encoding.spec.whatwg.org/index-windows___.txt  Verify  encoding.spec.whatwg.org/index-x-mac-c___.txt  Verify


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
Server nginx/1.10.3
Date Fri, 21 Aug 2026 18:21:43 GMT
Content-Type text/html
Content-Length 185
Connection close
Location htt????/encoding.spec.whatwg.org/
HTTP/2 200
server nginx/1.10.3
date Fri, 21 Aug 2026 18:21:43 GMT
content-type text/html; charset=utf-8
last-modified Thu, 21 May 2026 05:11:18 GMT
vary Accept-Encoding
etag W/ 6a0e93f6-94d98
access-control-allow-origin *
strict-transport-security max-age=63072000; includeSubDomains; preload
x-content-type-options nosniff
content-encoding gzip

Meta Tags

title="Encoding Standard"
charset="utf-8"
content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"
content="#3c790a" name="theme-color"
content="light dark" name="color-scheme"
content="Bikeshed version 0a3d88311, updated Mon May 4 18:07:03 2026 +0000" name="generator"
content="a985b62a9b45c17da3e17a9f0a0b4e30c34c4a8a" name="revision"

Load Info

page size81296
load time (s)0.78487
redirect count1
speed download103693
server IP 165.227.248.76
* all occurrences of the string "http://" have been changed to "htt???/"