<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Has anyone ever had trouble displaying Amharic text in a
QLineEdit, or had similar issues with other scripts to what I'm
describing below?</p>
<p>When typing Amharic text into a QLineEdit on MacOS I'm not seeing
the expected text but blocks of horizontal lines in place of each
character. If I copy those blocks and paste them into some other
(non-pyqt) application the Amharic text appears. Conversely, if I
type well-formed Amharic text in another application and
copy-and-paste that back into my pyqt application, only those
blocks of lines appear. <br>
</p>
<p>Something similar happens under Windows. (I can't repeat this
myself, but it's reported by another user) When Amharic is typed
blank spaces appear, like typing white text onto a white
background. Again, the same results as above for copying and
pasting.</p>
<p>My input method for MacOS is Keyman with SIL-Ethiopic
(<a class="moz-txt-link-freetext" href="https://keyman.com/macos/">https://keyman.com/macos/</a>). <br>
</p>
<p>I made a simple example below which only uses a dialog containing
one QLineInput, where the problem can be seen.<br>
</p>
<blockquote>
<p><font size="-2"><i>from PyQt5.QtWidgets import QDialog,
QApplication, QLineEdit</i><i><br>
</i><i><br>
</i><i>class TestDlg(QDialog):</i><i><br>
</i><i> def __init__(self): </i><i><br>
</i><i> super(TestDlg, self).__init__()</i><i><br>
</i><i> le = QLineEdit(self)</i><i><br>
</i><i> </i><i><br>
</i><i>app = QApplication([]) </i><i><br>
</i><i>dlg = TestDlg()</i><i><br>
</i><i>if dlg.exec_():</i><i><br>
</i><i> pass</i><i> </i><i><br>
</i><i>app.exec_()</i></font></p>
<p><font size="-2"><i><br>
</i></font></p>
</blockquote>
<p>Not much to go on, but I'm hoping that someone somewhere has seen
something like this before.</p>
<p>Best regards,<br>
Tim<br>
</p>
</body>
</html>