To reproduce, either use the attached MWE, or do the following:

1. create a new program listing.
2. enter "abc"
3. In Document > Settings > Language change to "Spanish".

Export to XeLaTeX (either the TeX or the PDF).

I get messages like the following in the terminal:

Error 84 returned from iconv when converting from UCS-4LE to ascii: Invalid or 
incomplete multibyte or wide character
Converted input: 0x005c 0x0062 0x0061 0x0074 0x0063 0x0068 0x006d 0x006f 0x0064 
0x0065 0x000a 0x005c 0x006d 0x0061 0x006b 0x0065 0x0061 0x0074 0x006c 0x0065 
0x0074 0x0074 0x0065 0x0072 0x000a 0x005c 0x0064 0x0065 0x0066 0x005c 0x0069 
0x006e 0x0070 0x0075 0x0074 0x0040 0x0070 0x0061 0x0074 0x0068 0x007b 0x007b 
0x002f 0x0068 0x006f 0x006d 0x0065 0x002f 0x0073 0x0063 0x006f 0x0074 0x0074 
0x002f 0x0044 0x0065 0x0073 0x006b 0x0074 0x006f 0x0070 0x002f 0x006d 0x0077 
0x0065 0x002f 0x007d 0x007d 0x000a 0x005c 0x006d 0x0061 0x006b 0x0065 0x0061 
0x0074 0x006f 0x0074 0x0068 0x0065 0x0072 0x000a 0x005c 0x0064 0x006f 0x0063 
0x0075 0x006d 0x0065 0x006e 0x0074 0x0063 0x006c 0x0061 0x0073 0x0073 0x005b 
0x0073 0x0070 0x0061 0x006e 0x0069 0x0073 0x0068 0x005d 0x007b 0x0061 0x0072 
0x0074 0x0069 0x0063 0x006c 0x0065 0x007d 0x000a 0x005c 0x0075 0x0073 0x0065 
0x0070 0x0061 0x0063 0x006b 0x0061 0x0067 0x0065 0x005b 0x0054 0x0031 0x005d 
0x007b 0x0066 0x006f 0x006e 0x0074 0x0065 0x006e 0x0063 0x007d 0x000a 0x005c 
0x0075 0x0073 0x0065 0x0070 0x0061 0x0063 0x006b 0x0061 0x0067 0x0065 0x007b 
0x0062 0x0061 0x0062 0x0065 0x006c 0x007d 0x000a 0x005c 0x0061 0x0064 0x0064 
0x0074 0x006f 0x005c 0x0073 0x0068 0x006f 0x0072 0x0074 0x0068 0x0061 0x006e 
0x0064 0x0073 0x0073 0x0070 0x0061 0x006e 0x0069 0x0073 0x0068 0x007b 0x005c 
0x0073 0x0070 0x0061 0x006e 0x0069 0x0073 0x0068 0x0064 0x0065 0x0061 0x0063 
0x0074 0x0069 0x0076 0x0061 0x0074 0x0065 0x007b 0x007e 0x003c 0x003e 0x007d 
0x007d 0x000a 0x000a 0x005c 0x0075 0x0073 0x0065 0x0070 0x0061 0x0063 0x006b 
0x0061 0x0067 0x0065 0x007b 0x006c 0x0069 0x0073 0x0074 0x0069 0x006e 0x0067 
0x0073 0x007d 0x000a 0x005c 0x0072 0x0065 0x006e 0x0065 0x0077 0x0063 0x006f 
0x006d 0x006d 0x0061 0x006e 0x0064 0x007b 0x005c 0x006c 0x0073 0x0074 0x006c 
0x0069 0x0073 0x0074 0x0069 0x006e 0x0067 0x006e 0x0061 0x006d 0x0065 0x007d 
0x007b 0x004c 0x0069 0x0073 0x0074 0x0061 0x0064 0x006f 0x0020 0x0064 0x0065 
0x0020 0x0063
Stopped at: 0x00f3
Unconverted input: 0x0064 0x0069 0x0067 0x006f 0x007d 0x000a 0x000a 0x005c 
0x0062 0x0065 0x0067 0x0069 0x006e 0x007b 0x0064 0x006f 0x0063 0x0075 0x006d 
0x0065 0x006e 0x0074 0x007d 0x000a

Note that this affects lib/examples/es/linguistics.lyx

Can anyone else reproduce? Is the problem obvious?

I can reproduce the issue on 2.2.0 and on master. I cannot reproduce on
2.1.0. I can do a git bisect if someone thinks the time would be worth
it.

Scott
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language spanish
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 1
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language french
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset listings
inline false
status open

\begin_layout Plain Layout

abc
\end_layout

\end_inset


\end_layout

\end_body
\end_document

Attachment: signature.asc
Description: PGP signature

Reply via email to