Search code examples
encodingtruetypeopentypewoffeot

What is the encoding for OPT, TTF, EOT, and WOFF?


What is the encoding for OPT, TTF, EOT, and WOFF? I can't seem to find them.

Is there a list of encodings mapped to file types?


Solution

  • The word “encoding” is typically used with character data. Since the TTF file format is based on bytes, it doesn’t have a “character encoding”. It does have some fields with character data, but then the question should be “what is the encoding of these fields inside the file?” — the file as a whole doesn’t have an encoding.