<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[12pt]{article}

\usepackage{fontspec}
\usepackage{polyglossia}

\usepackage{makeidx}
\makeindex

\setdefaultlanguage{thai}
\setromanfont{Noto Serif}
%\setmainfont{Noto Serif}
\setsansfont{Noto Serif}
\setmainfont{Noto Serif Thai}[Language=Thai,Script=Thai]
\newfontfamily\englishfont{Noto Serif}
\setotherlanguage{english}

\pagestyle{empty}
\begin{document}
\thispagestyle{empty}

à¸”à¸­à¸à¹„à¸¡à¹‰\index{à¸”à¸­à¸à¹„à¸¡à¹‰}
à¸™à¸\index{à¸™à¸}
à¸¥à¸¡\index{à¸¥à¸¡}
à¸”à¸§à¸‡à¸ˆà¸±à¸™à¸—à¸£à¹Œ\index{à¸”à¸§à¸‡à¸ˆà¸±à¸™à¸—à¸£à¹Œ}

\printindex

\end{document}

\index{}.
</pre></body></html>