On 30/04/2022 23:52, David Carlisle wrote:
Something like this, I think.
[image: image.png]
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{armenian}
\setmainfont{DejaVu Sans}
\ExplSyntaxOn
\let\tuppercase\text_uppercase:n
\ExplSyntaxOff
\pagestyle{empty}
\begin{document}
Երևան $\rightarrow$ \uppercase{Երևան}
Երևան $\rightarrow$ \tuppercase{Երևան}
\end{document}
David
The next expl3 release will include hy-x-yiwn as a language settings,
allowing
\newcommand\tuppercsae{\text_uppercase:n{hy-x-yiwn}}
in David's example - this variant will use the alternative mapping.
Joseph