On Azerbaijani Windows the old text table is often 1254. That is the Turkish table. It has ü, ö, ş, ğ, ç, and ı. It does not have ə. Encoding.GetEncoding(1254) cannot store that letter and puts ? in its place.
Make the file and the console UTF-8. Do not write 1254.