Skip to content
Surf Wiki
Save to docs
general/character-encoding

From Surf Wiki (app.surf) — the open knowledge base

Cork encoding

Latin script character encoding used by LaTeX


Latin script character encoding used by LaTeX

The Cork (also known as T1 or EC) encoding is a character encoding used for encoding glyphs in fonts. 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. It contains 256 characters supporting most west- and east-European languages with the Latin alphabet.

Details

In 8-bit TeX engines the font encoding has to match the encoding of hyphenation patterns where this encoding is most commonly used. 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.

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

References

References

  1. (1990). "Report on Multilingual Activities". TUGboat.
  2. "TeX hyphenation patterns".
  3. (1996-06-19). "The Czech and Slovak Character Encoding Mess Explained". cs-encodings-faq.
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Cork encoding — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report