str2blob() routed every target encoding through convert_string(), which treats all Unicode encodings as utf-8, so the bytes were left unconverted. str2blob(['Hello'], {'encoding': 'utf-16le'}) returned 0z48656C6C6F instead of 0z480065006C006C006F00, breaking the round-trip with blob2str(). Add the same wide-encoding handling blob2str() uses.
https://github.com/vim/vim/pull/20466
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()