In my (out of the box) configuration of LyX, the line
is inserted in the generated .tex file by default. This makes it impossible for me to set different options (e.g.,
utf8) or to load other packages that are incompatible.
Is there a way to prevent LyX from loading
inputenc with [latin9]?