I apologize. My LyX test machine where I found the problem has LyX 2.2.3.
We have built LyX 2.3.1 for RedHat and the problem is solved, the smiley
unicode character is replaced by \smiley{}, just as Jurgen said.
Also confirm that problem does not exist in LyX 2.3.0 in Ubuntu.
On Wed, Sep 26,
Am Dienstag, den 25.09.2018, 14:15 -0500 schrieb Paul Johnson:
> This looks like a bug to me.
>
> Create a new empty article and use the Insert Symbol tool to put in
> some miscellaneous smiley faces and what not. This is the source view
> of the file, which does compile.:
>
>
Le 25/09/2018 à 21:15, Paul Johnson a écrit :
Then I went into Settings -> Language and changed input to utf-8.
That had the effect of automatically replacing \frownie and \smiley
with unicode symbols in the LaTeX source, like so:
\documentclass[english]{article}
\usepackage[T1]{fontenc}
This looks like a bug to me.
Create a new empty article and use the Insert Symbol tool to put in
some miscellaneous smiley faces and what not. This is the source view
of the file, which does compile.:
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}