This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13292 - Needs Clarification: What is an end-of-file marker in the context of Unicode? My guess is you could use one of the Byte Order Mark as noted in [http://msdn.microsoft.com/en-us/site/dd374101]? In particular, "The Unicode value U+FFFF is illegal in plain te
Summary: Needs Clarification: What is an end-of-file marker in the context of Unicode?...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 00:44 UTC by contributor
Modified: 2012-07-18 18:49 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2011-07-19 00:44:15 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#webvtt-cue-text-parsing-rules
Complete: http://www.whatwg.org/c#webvtt-cue-text-parsing-rules

Comment:
Needs Clarification: What is an end-of-file marker in the context of Unicode?
My guess is you could use one of the Byte Order Mark as noted in
[http://msdn.microsoft.com/en-us/site/dd374101]? In particular, "The Unicode
value U+FFFF is illegal in plain text files and cannot be passed between
applications. It is reserved for the private use of an application." I have
two concerns about this. First, since this codepoint is not actually a legal
value, some languages might check (not that I know of any) and outright refuse
to assign it to a variable of character type. Second, there is a chance the
input already contains this value (0xef 0xbf 0xbf).

Posted from: 78.224.146.118
User agent: Opera/9.80 (Windows NT 6.1; U; fr) Presto/2.9.168 Version/11.50
Comment 1 Ian 'Hixie' Hickson 2011-07-20 00:42:50 UTC
I don't understand. There is no end-of-file marker in Unicode. Do I refer to such a character in the spec?
Comment 2 Silvia Pfeiffer 2011-07-20 02:33:21 UTC
(In reply to comment #1)
> I don't understand. There is no end-of-file marker in Unicode. Do I refer to
> such a character in the spec?

Yes. Search for "end-of-file marker" on http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html .

It's not a character. It's just an indicator that the end of the file has been reached IIUC.
Comment 3 Ian 'Hixie' Hickson 2011-08-05 23:13:14 UTC
I've tried to clarify this.
Comment 4 contributor 2011-08-05 23:14:20 UTC
Checked in as WHATWG revision r6376.
Check-in comment: clarification
http://html5.org/tools/web-apps-tracker?from=6375&to=6376