IPTC 7901#C0 control codes

IPTC 7901 is a news service text markup specification published by the International Press Telecommunications Council that was designed to standardize the content and structure of text news articles. It was formally approved in 1979, and is still the world's most common way of transmitting news articles to newspapers, web sites and broadcasters from news services.

Using fixed metadata fields and a series of control and other special characters, IPTC 7901 was designed to feed text stories to both teleprinters and computer-based news editing systems. Stories can be assigned to broad categories (such as sports or culture) and be given a higher or lower priority based upon importance.

Although superseded in the early 1990s by IPTC Information Interchange Model and later by the XML-based News Industry Text Format, 7901's huge existing user base has persisted.

IPTC 7901 is closely related to ANPA-1312 (also known as ANPA 84-2 and later 89-3) of the Newspaper Association of America.

C0 control codes

The standard replaces several of the ASCII control codes:{{citation|mode=cs1 |url=https://www.iptc.org/std/IPTC7901/1.0/specification/7901V5.pdf |title=The IPTC Recommended Message Format |id=IPTC TEC 7901 |edition=5th |date=1995 |author=IPTC |author-link=IPTC}}{{cite iso-ir |sponsor=IPTC |sponsor-link=IPTC |title=Control set for newspaper text transmission |date=1976 |number=26}}

class="wikitable"

! Seq

! title="Decimal" | Dec

! title="Hexadecimal" | Hex

! title="ASCII control code replaced" | Replaced

! title="Abbreviation" | Abbrev

! title="Character name" | Name

! Description

id="FO"

|^I

0909HTFOFormatting

| Used in tabular data to move to the next tabulation position (retaining "Tab" semantics in this regard), and in standard formats to denote the next phase. The current IPTC specification instead recommends using regular ASCII C0 controls, and using the {{control code link|internal=1|US}} control as a column break in tables.

id="ECD"

|^K

110BVTECDEnd of Instruction

| Delimits the end of a typographical instruction intended for the typesetting device.

id="SCD"

|^L

120CFFSCDStart of Instruction

| Delimits the start of a typographical instruction intended for the typesetting device.

id="QL"

|^M

130DCRQLQuad Left

| Terminates a line, indicating that it should be left-aligned. The current IPTC specification instead recommends using regular ASCII C0 controls, and representing this function with the {{code|< CR LF}} sequence.

id="FT1"

|^Q

1711DC1FT1Font One

| Switches to regular typeface, i.e. disables bold or italic.

id="FT2"

|^R

1812DC2FT2Font Two

| Switches to italic typeface.

id="FT3"

|^S

1913DC3FT3Font Three

| Switches to bold typeface.

^W2317ETX?{{nobreak|End of paragraph}}

|

id="KW"

|^X

2418CANKWKill Word

| Deletes the preceding word (deletes back to and including the last space, or back to and excluding the previous line break, whichever it encounters first). Retains "Cancel" semantics in this respect, but has a more specific function.

id="EMSP"

|^Y

2519EMEMSPEm space

| For indenting the first line of a paragraph

id="SS"

|^\

281CFSSSSuper Shift

| {{Control code link|SS2|Non-locking shift code}}.

^\281CFS??

|"Central Field Separator" in tables

id="QL"

|^]

291DGSQCQuad Centre

| Terminates a line, indicating that it should be centred.

^]291DGS??

|Mark following space as {{Control code link|NBSP|non-breaking}}

id="QR"

|^^

301ERSQRQuad Right

| Terminates a line, indicating that it should be right-aligned.

^^301ERS??

|Mark following hyphen-minus as a {{Control code link|SHY|soft hyphen}}

id="JY"

|^_

311FUSJYJustify

| Terminates a line which is to be justified.

References

Category:Metadata

{{compu-stub}}