Here is the MWE:
\documentclass{article}
\usepackage[answers, usedefaultargs]{probsoln}
\PSNrandseed{\time}
\begin{document}
\newproblem*{1}{%
This is Q1}
\newproblem*{2}{%
This is Q2 करमल}
\newproblem*{3}{%
This is Q3}
\useproblem{1}
\useproblem{2}
\useproblem{3}
\end{document}
\useproblem{2} does not include the non-latin characters when compiled with xelatex or lualatex.
How do I typeset questions with non-latin text?
\usepackage{fontspec}and\newfontfamily\deva{Lohit Devanagari}. And added{\deva करमल}. And that did the trick. Will you please post this as an answer? I will, then, accept it. – deshmukh Oct 17 '17 at 06:34