In Julia programming language, one can type Unicode character such as

If I want to copy paste a chunk of code in a tex file. What should I do?
Here is an unsuccessfule attempt:
\documentclass[a4paper, 12pt]{book}
\usepackage{verbatim}
\usepackage{unicode-math}
\begin{document}
\begin{verbatim}
Hello world
μ
x
\end{verbatim}
\end{document}
In the output, the $\mu$ does not appear:
Edit Ok I did some research and found this other answer
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{pmboxdraw}
\begin{document}
\begin{verbatim}
verbatim { ├ ─ └ }
\end{verbatim}
\end{document}
However, when this is the output I get
Edit 2 I also tried the following code
\documentclass[a4paper, 12pt]{article} \usepackage{fontspec} \setmainfont{Liberation Serif}
\setmonofont{Liberation Mono}
\usepackage{verbatim}
\begin{document} Hello world
\newline μ
\newline Hello world again
\begin{verbatim} μ x
\end{verbatim}
\end{document}
The font "Liberation Serif" cannot be found / The font "Liberation Mono" cannot be found


fontspecand select a font that contains Greek characters (many fonts have those), both for regular text (\setmainfont) and for verbatim (\setmonofont). See https://tex.stackexchange.com/questions/398335/xetex-typewriter-fonts-and-quotes and https://tex.stackexchange.com/questions/228671/writing-greek-in-xelatex-with-the-default-font, I'll vote to close as a duplicate of the 2nd - note that you don't need all the\newfontfamilyandpolyglossiastuff. – Marijn Jan 05 '20 at 20:00\documentclass[a4paper, 12pt]{article} \usepackage{fontspec} \setmainfont{Liberation Serif} \setmonofont{Liberation Mono} \usepackage{verbatim} \begin{document} Hello world \newline μ \newline Hello world again \begin{verbatim} μ x \end{verbatim} \end{document}– Marijn Jan 05 '20 at 20:04The font "Liberation Serif" cannot be found / The font "Liberation Mono" cannot be foundDo you know what I should do? – ecjb Jan 05 '20 at 20:10mintedpackage). The question is now definitely another one but do you have a idea? many thanks again! – ecjb Jan 05 '20 at 20:36--shell-escapein order to use minted, there is probably a button for that somewhere (I'm not sure, I don't use TeXstudio) or otherwise you can change the settings in Options > Configure TeXStudio > Commands. – Marijn Jan 05 '20 at 20:39fontspecpackage. – ecjb Jan 05 '20 at 21:44