I've tried to follow this answer (and the subsequent ones cited there), but to no avail. When I try to compile with LuaLaTeX using the XCharter font, the numbers in math mode appear in CM.
\documentclass{article}
\usepackage[xcharter]{newtxmath}
\usepackage{fontspec}
\setmainfont{XCharter}
\begin{document}
Text: 123, Math: \( 123 \)
\end{document}
How can I get both the text and the math to use the XCharter font to write numbers? Thank you very much in advance!

