[prev in list] [next in list] [prev in thread] [next in thread]
List: vdsm-devel
Subject: =?utf-8?q?=5Bovirt-devel=5D?= Why filetransaction needs to encode the content to utf-8?
From: Yedidyah Bar David <didi () redhat ! com>
Date: 2019-07-23 10:11:26
Message-ID: CAHRwYXtyKc2a4vRjnZiKR6kbyDis_HqaBo4mg0m_Z2RvWEDbQg () mail ! gmail ! com
[Download RAW message or body]
Hi Nir and all,
In [1] you added line 151, to encode the contents to utf-8. Do you
remember why you needed that? What happens if I remove this line?
I am working on [2]. It fails on that line, because the current
content, if organization name is unicode, has a UTF-8 encoded string
already, but is a python str (not unicode). Tried patching otopi [3],
did a few attempts (some of them also pushed there, check the
different patchsets), but none worked. So I am going to patch
postinstall file generation instead [4], but I don't like this.
Any hints are welcome. Thanks and best regards,
[1] https://gerrit.ovirt.org/#/c/92435/1/src/otopi/filetransaction.py
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1729511
[3] https://gerrit.ovirt.org/102085
[4] https://gerrit.ovirt.org/102089
--
Didi
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/3JZCK5POIBNEDIF2I7ABDD3VNOLZOUK3/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic