What's the point of using both
inputenc in the same preamble? Why would anyone want to specify an input encoding (with
inputenc) and an output encoding (with
fontenc) that don't coincide? And if they do coincide, why use both?
This question is not a duplicate of this one. In the answer given to that question two scenarios are described:
When you type
äin an editor set up for Latin-1, the machine stores character number 228.
When TeX reads the file it finds the character number 228 and the macros of
inputenctransform this into
fontenccomes into action; the command
\"has an associated table of the known accented characters the font has available, and
äis among these, so the sequence
\"ais transformed into the command "print character 228" in the current (T1-encoded) font.
In this case the two coincide.
for instance, of
The machine stores character number 223
The macros of
inputencchange this into
fontenctransforms this into "print character 255" (where T1 encoded fonts have a ß character).
In the first scenario what's the point in specifying both
fontenc if they coincide (e.g. they both associate the character number 228 with the string
In the second scenario, why would you want to convert the character number 223 to the character number 225? Why can't you stick to 223?