[PyQt] QString.normalized()

Timothy W. Grove tim_grove at sil.org
Sat Nov 5 13:25:01 GMT 2016


I've tried that suggestion before, but it just doesn't do the job, at 
least not with the Myanmar text I was testing.

Tim


On 05/11/2016 12:03, Dmitry Shachnev wrote:
> Hi,
>
> On Sat, Nov 05, 2016 at 11:57:11AM +0000, Timothy W. Grove wrote:
>> Without the actual QString class in PyQt5.7, is there an equivalent to
>> QString.normalized() somewhere? I would like to have access to the
>> normalizations functions in ICU, but I'm having a little trouble installing
>> PyICU at the moment. Thanks.
> Use unicodedata.normalize(form, string) from the standard library.
>
> https://docs.python.org/3/library/unicodedata.html#unicodedata.normalize
>
> --
> Dmitry Shachnev
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161105/e9c5a3d8/attachment-0001.html>


More information about the PyQt mailing list