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 23867 - Add numbered escape characters to list of allowed WebVTT cue text escape characters
Summary: Add numbered escape characters to list of allowed WebVTT cue text escape char...
Status: RESOLVED MOVED
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard: v2 widereview
Keywords:
: 28264 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-19 20:53 UTC by Silvia Pfeiffer
Modified: 2016-10-11 18:11 UTC (History)
10 users (show)

See Also:


Attachments

Description Silvia Pfeiffer 2013-11-19 20:53:47 UTC
Things like the left-to-right mark (‎) and other such numbered escape characters should be supported in WebVTT cue text because they are the easy way to author UTF-8 characters.
Comment 1 Philip Jägenstedt 2013-11-20 22:21:10 UTC
I guess you mean to support both ‎ and ‎?
Comment 2 Silvia Pfeiffer 2013-11-21 23:25:41 UTC
Why not just generally &#zzzz; ? Is there any need to restrict which hex values we support?
Comment 3 Rick Eyre 2013-11-27 14:45:51 UTC
This sounds like a good idea. However, we can't manually convert every escape character to the character it represents like we're doing now with &, <, >, etc. So would we stop converting them all and let the browser handle it or would only convert certain ones?
Comment 4 Philip Jägenstedt 2013-12-06 11:55:11 UTC
(In reply to Silvia Pfeiffer from comment #2)
> Why not just generally &#zzzz; ? Is there any need to restrict which hex
> values we support?

I was pointing out that there are two forms of escapes, decimal (&#8206;) and hexadecimal (&#x200E;).
Comment 5 Silvia Pfeiffer 2013-12-06 22:15:02 UTC
(In reply to Philip Jägenstedt from comment #4)
> (In reply to Silvia Pfeiffer from comment #2)
> > Why not just generally &#zzzz; ? Is there any need to restrict which hex
> > values we support?
> 
> I was pointing out that there are two forms of escapes, decimal (&#8206;)
> and hexadecimal (&#x200E;).

Ah! Ha! Sure, both makes sense to me.
Comment 6 Philip Jägenstedt 2014-01-29 11:54:10 UTC
WebVTT now has &lrm; and &rlm;, which was the case this was opened for. I'm taking the liberty of setting this to v2, but we can move it back to v1 if we have people in the trenches requesting more specific escapes than we want to add.
Comment 7 Philip Jägenstedt 2014-02-05 18:53:43 UTC
Relevant Blink review: https://codereview.chromium.org/150413005/
Comment 8 Silvia Pfeiffer 2014-02-05 22:31:38 UTC
Why would anyone write decimal or hexadecimal escapes and not mean them to be resolved? IMHO we can move this to v1 and fix it now.
Comment 9 Philip Jägenstedt 2014-02-06 08:49:11 UTC
(In reply to Silvia Pfeiffer from comment #8)
> Why would anyone write decimal or hexadecimal escapes and not mean them to
> be resolved?

The same can be said for *all* escapes that are allowed in HTML.

I'll ask Anjali to comment on what prompted him to add this.
Comment 10 Silvia Pfeiffer 2014-02-06 09:44:23 UTC
(In reply to Philip Jägenstedt from comment #9)
> (In reply to Silvia Pfeiffer from comment #8)
> > Why would anyone write decimal or hexadecimal escapes and not mean them to
> > be resolved?
> 
> The same can be said for *all* escapes that are allowed in HTML.

Right. Limiting the supported entity names just made sense for authoring tools and non-browsers, IMHO.
Comment 11 Philip Jägenstedt 2015-03-23 03:40:51 UTC
*** Bug 28264 has been marked as a duplicate of this bug. ***
Comment 12 Addison Phillips 2015-03-24 01:02:26 UTC
(adding www-international to this issue, which duplicates I18N-ISSUE-430)
Comment 13 David Singer 2015-06-01 20:35:51 UTC
(added widereview as it's a dup of 28264)
Comment 14 Silvia Pfeiffer 2015-06-14 21:08:24 UTC
PR prepared https://github.com/w3c/webvtt/pull/198
Comment 15 Philip Jägenstedt 2015-07-22 14:25:43 UTC
Do we have concrete implementor support for this? I would accept it in Blink, but it's unlikely I'll get around to implementing it myself.

Rick, interest in Gecko?

Eric, Jer, interest in WebKit?
Comment 16 Eric Carlson 2015-07-22 14:46:38 UTC
(In reply to Philip Jägenstedt from comment #15)
> Do we have concrete implementor support for this? I would accept it in
> Blink, but it's unlikely I'll get around to implementing it myself.
> 
> Rick, interest in Gecko?
> 
> Eric, Jer, interest in WebKit?

Sure, seems reasonable.
Comment 17 Simon Pieters 2015-11-12 15:21:26 UTC
https://github.com/w3c/webvtt/pull/253
Comment 18 David Singer 2016-10-11 18:11:14 UTC
we now rely on HTML character reference