<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">3 okt. 2020 kl. 20:54 skrev Doug Ewell via Unicode <<a href="mailto:unicode@unicode.org" class="">unicode@unicode.org</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Harriet Riddle wrote:<br class=""><br class=""><blockquote type="cite" class="">It's worth pointing out that the control codes for showing mosaic<br class="">characters as separated are also used in at least some formats to<br class="">switch alphabetical characters to underlined display.<br class=""><br class="">See for example the definitions for SPL and STL here:<br class=""><a href="https://www.itscj.ipsj.or.jp/iso-ir/056.pdf" class="">https://www.itscj.ipsj.or.jp/iso-ir/056.pdf</a> (that document details the<br class="">C1 control codes for Data Syntax 2 Serial Videotex—which would seem to<br class="">be the Teletext set but as a C1 set, and as such with CSI rather than<br class="">ESC).<br class=""></blockquote><br class="">Applications of any sort that are compliant with ISO/IEC 6429 (ECMA-48, ANSI X3.64) should understand ESC [ as a synonym for CSI.<br class=""></div></div></blockquote><font color="#5856d6" class=""><span style="caret-color: rgb(88, 86, 214);" class=""><div><br class=""></div><div>Teletext is not compliant with ECMA-48 (unless converted).</div><div><br class=""></div></span></font><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class="">Essentially, the expectation seems to be that an emphasised variant of<br class="">a font would display mosaic characters separated, while a regular<br class="">variant of a font would display them connected.<br class=""></blockquote><br class="">We still haven't written the Technical Note for using the Legacy Symbols -- that's largely on me -- but as far as teletext is concerned, the recommended practice is to translate teletext control codes directly onto the Basic Latin space. For example:<br class=""><br class="">- "contiguous graphics" becomes U+0019<br class="">- "separated graphics" becomes U+001A<br class="">- "double height" becomes U+000D<br class="">- "end box" becomes U+000A<br class=""></div></div></blockquote><span style="caret-color: rgb(88, 86, 214);" class=""><div style="color: rgb(88, 86, 214);"><font color="#5856d6" class=""><span style="caret-color: rgb(88, 86, 214);" class=""><br class=""></span></font></div>That would be an extremely bad idea (as well as being completely non-compliant with ECMA-48, if that is still the approach, as I think it should be).</span></div><div><font color="#5856d6" class=""><span style="caret-color: rgb(88, 86, 214);" class=""><br class=""></span></font><blockquote type="cite" class=""><div class=""><div class="">There is no conflict with the normal meanings of U+000D and U+000A because teletext does not use these to separate lines.</div></div></blockquote><div><br class=""></div><div>I don’t know how Teletext is represented in DVB or IP-TV; but those digital representations of TV images do not use traditional ”analog” representation of TV images, and hence cannot have the ”analog” representation of ”rows” (lines) of text in Teletext. (And yes, Teletext does work fine with IP-TV.)</div><div><br class=""></div><div>Note also that Teletext is rife with ”code page switching”. ESC toggles between a primary and a secondary charset (for text). In a control part of the Teletext protocol one sets the charsets for text (options include various ”national variants” of ISO/IEC 646, as well as Greek, Hebrew and Arabic (visual order, preshaped). </div><div><br class=""></div><div>Toggling between separated and contiguous ”mosaics” is also best seen as a switch between charsets. Regarding it as a styling is odd, since this particular styling would only apply to a few very rarely used characters, and the change is not one that is recognized as styling elsewhere. In addition, you have already encoded separated and contiguous other but similar ”mosaics” characters as separate characters.</div><div><br class=""></div><div>Even the colour controls in Teletext switch between text and mosaics (and in addition are usually displayed as a space, as is the norm in Teletext for ”control” characters).</div><div><br class=""></div><div>Part of the Teletext protocol specifies how to set/unset bold/italic/underline. But that is not inline in the text, it is ”out-of-line” elsewhere in the protocol (in a control part). But colouring, certain sizing, blink, conceal, and ”boxing” (used for (optional) subtitling and news flash messages) are inline. Note that Teletext is still often used for subtitling.</div><div><br class=""></div><div>Most of Teletext styling can be converted to ECMA-48 styling as is. Some others will need an extension of ECMA-48 to be representable in that framework.</div><br class=""><blockquote type="cite" class=""><div class=""></div></blockquote><div>Teletext these days are often displayed in things that are not analog (of even digital) TVs; you can find web pages displaying Teletext texts, as well as mobile phone (or tablets) apps that display Teletext texts. They need not all convert those pages to an image before displaying then in the web page/app… (Though one may want to have a partial conversion to HTML rather than to ECMA-48; but for HTML that would not handle ”box” (at all) nor blink (since that is deprecated in HTML), ....)</div><div><br class=""></div><div>/Kent K</div><div><br class=""></div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">In general, a teletext application should treat control codes the way teletext would treat them, and should not try to mix C0 and teletext interpretations. This also means Rob's scenario:<br class=""><br class=""><blockquote type="cite" class="">It also means a simple text-only file of just the characters won't<br class="">recreate a screen as the control codes to switch between contiguous/<br class="">separated won't work.<br class=""></blockquote><br class="">may not be well-conceived; the file should probably not be "text" in the sense that its lines end with some combination of CR and/or LF, unless there is an intermediate translation step.<br class=""><br class="">--<br class="">Doug Ewell, CC, ALB | Thornton, CO, US | <a href="http://ewellic.org" class="">ewellic.org</a><br class=""><br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>