This is an old revision of this page, as edited by LawrenceWoodman(talk | contribs) at 13:40, 9 July 2021(Change use of T-cedilla and S-cedilla to T-comma and S-comma. The original encoding was released in 1990, before Unicode, with full support for Romanian but couldn't be fully converted to Unicode in 2010 when the linked encoding file was created because of the lack of T-comma and S-comma at the time.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 13:40, 9 July 2021 by LawrenceWoodman(talk | contribs)(Change use of T-cedilla and S-cedilla to T-comma and S-comma. The original encoding was released in 1990, before Unicode, with full support for Romanian but couldn't be fully converted to Unicode in 2010 when the linked encoding file was created because of the lack of T-comma and S-comma at the time.)
The Cork (also known as T1 or EC) encoding is a character encoding used for encoding glyphs in fonts.[1] It is named after the city of Cork in Ireland, where during a TeX Users Group (TUG) conference in 1990 a new encoding was introduced for LaTeX.[1] It contains 256 characters supporting most west and east-European languages with the Latin alphabet.[2]
Details
In 8-bit TeX engines the font encoding has to match the encoding of hyphenation patterns where this encoding is most commonly used.[3] In LaTeX one can switch to this encoding with \usepackage[T1]{fontenc}, while in ConTeXt MkII this is the default encoding already. In modern engines such as XeTeX and LuaTeX Unicode is fully supported and the 8-bit font encodings are obsolete.
^0x7F is the hyphenation character (not really a soft hyphen).
^0xD0 is used both as Eth (Ð, U+00D0) and as D with stroke (Đ, U+0110) which might be a problem at some occasions (like copying text from PDF, hyphenation, ...)
^0xDF contains SS (two letters S). It allows TeX to automatically convert the German lowercase ß into the uppercase form.
Supported languages
The encoding supports most European languages written in Latin alphabet. Notable exceptions are:
Languages with slightly suboptimal support include:
Galician language, Portuguese language and Spanish language – due to the lack of characters ª and º, which are not superscript versions of lowercase "a" and "o" (superscripts are thinner) and they are often underlined