See the inputenc package documentation for explanation. What is your lyx version and what is the exact error message? You must log in to answer.
minted How to solve the `Package inputenc Error Unicode char not set
Getting unicode characters in your text can happen when you are copy pasting code or text from another application into your latex file.
What character set is being used in your lyx and latex files?
How to use the following character ſ (u+17f) in lyx? This perplexing issue arises when you attempt to input certain. Unicode char äga (u+cc) (inputenc) not set up for use with latex. This seems to be an error about the file name itself, rather than the contents.
Unicode character ĺż (u+17f) the complete source. @lhey in language settings, try using unicode utf8x (extended) encoding (in all your child documents). One must then switch to xetex or luatex by. This perplexing issue arises when you attempt to input certain.

I've tried xetex but i prefer keep my.
Setting the utf8 encoding does not work: I want to insert some unicode characters like black square or ━ but after trying it for several hours i can't get anything more than errors. This will make lyx call \usepackage[utf8x]{inputenc}. The unicode character u+2032 is for.
But since latex does not handle many different characters, lyx could warn that certain characters are unencodable in latex. Please fill in as much information as possible.



