Make it up to you


SUBMITTED BY: Guest

DATE: March 7, 2014, 8:05 p.m.

FORMAT: Text only

SIZE: 688 Bytes

HITS: 3545

  1. [00:00] <SpamapS> Eh, but I have a variable with raw bytes from a file.
  2. [00:00] <SpamapS> and I want to print them out
  3. [00:00] <niemeyer> SpamapS: foo.decode(“utf-8”), for instance
  4. [00:00] <SpamapS> actually.. I think for this..
  5. [00:00] <niemeyer> SpamapS: Which yields unicode
  6. [00:00] <SpamapS> config-get and relation-get need to have a —format=raw ..
  7. [00:00] <niemeyer> Or rather, the Python notion of unicode
  8. [00:00] <SpamapS> because right now we’re tacking on a \n
  9. [00:01] <niemeyer> SpamapS: Yeah, possibly
  10. [..]
  11. View the full conversation on http://openconvos.com/post/58769428899/make-it-up-to-you

comments powered by Disqus