Cork encoding
Page Module:Message box/ambox.css has no content.
This article relies largely or entirely on a single source. (November 2012) |
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.
Character set
Notes
- Hexadecimal values under the characters in the table are the Unicode character codes.
- The first 12 characters are often used as combining characters.
Page Template:Reflist/styles.css has no content.
Supported languages
The encoding supports most European languages written in Latin alphabet. Notable exceptions are:
- Esperanto and Maltese language (using IL3)
- Latvian language and Lithuanian language (using L7X)
- Welsh language
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
- Croatian language, Bosnian language, Serbian language – due to the shared use of the slot for Đ
- Turkish language – due to dotless i having different uppercase and lowercase combinations than in other languages
- Romanian language – due to the characters "Ş ş Ţ ţ" (with a cedilla) being typographically considered incorrect by modern standards[4][5], with the expected correct forms being "Ș ș Ț ț" [6] (with a comma below) - though when the encoding was developed, it was arguably considered acceptable at that time, but the status of support retroactively changed to suboptimal or insufficient when the Unicode codepoints were disunified.
References
- ^ a b Page Module:Citation/CS1/styles.css has no content.Petrlik, Lukas (1996-06-19). "The Czech and Slovak Character Encoding Mess Explained". cs-encodings-faq. 1.10. Archived from the original on 2016-06-21. Retrieved 2016-06-21.
- ^ Page Module:Citation/CS1/styles.css has no content.Ferguson, Michael (1990), "Report on Multilingual Activities" (PDF), TUGboat, 11 (4): 514–516
- ^ Page Module:Citation/CS1/styles.css has no content.TeX hyphenation patterns
- ^ https://typedrawers.com/discussion/318/tcomma-and-tcedilla
- ^ https://www.oxygenxml.com/forum/other-issues/topic25658.html
- ^ https://tex.stackexchange.com/questions/347629/issue-with-diacritics-in-romanian-language-document/347645#347645
External links
Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.