On Mon, Sep 14, 2020 at 3:02 PM Thomas Passin <[email protected]> wrote:

> in app.saveWindowState, there is this bit:
>
> val = base64.encodebytes(val).decode('ascii')
>
> This ought to be equivalent to
>
> val_str = val.decode()
>
> UTF-8 is the implied encoding, which will work for all-ascii bytes.  Or if
> the QT5 decoding actually is base64, then just use that as the argument of
> decode().
>

The code above is taken directly from pyzo. A simpler way may be possible,
but any such simplification will have no effect on the big questions we are
facing.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS1WLnyjhYhgnkt_XByJYyWX%3D2kNJfXJQ77PeG3bwR1fYw%40mail.gmail.com.

Reply via email to