Unfortunately, the MsgBox window displays nothing.
Could someone please take a look and let me know what I might be doing wrong?
Thank you in advance for your assistance!
Code: Select all
transliteration := {"а": "a", "б": "b", "в": "v", "г": "g", "д": "d", "е": "e", "ё": "yo", "ж": "zh", "з": "z", "и": "i", "й": "y", "к": "k", "л": "l", "м": "m", "н": "n", "о": "o", "п": "p", "р": "r", "с": "s", "т": "t", "у": "u", "ф": "f", "х": "kh", "ц": "ts", "ч": "ch", "ш": "sh", "щ": "sch", "ъ": """", "ы": "y", "ь": """", "э": "e", "ю": "yu", "я": "ya"}
cyrillic_char := "Ю"
latin_char := transliteration[cyrillic_char] ? transliteration[cyrillic_char] : cyrillic_char
MsgBox % latin_char
Edit: The file is saved in UTF-8 with BOM, some characters work, but not all