Language in the Ottoman Empire was a bit complicated … from Wikipedia:
The Ottoman Turkish alphabet (Ottoman Turkish: الفبا, elifbâ) is a version of the Perso-Arabic script used to write Ottoman Turkish until 1928, when it was replaced by the Latin-based modern Turkish alphabet.
Though Ottoman Turkish was primarily written in this script, non-Muslim Ottoman subjects sometimes wrote it in other scripts, including Armenian, Greek, Latin and Hebrew alphabets.