1. Michael Granger
  2. ruby-pg
  3. Issues

Issues

Issue #116 duplicate

Wrong encoding for binary result format

Lars Kanis
created an issue

{{{ d = c.exec("SELECT $1::bytea", [value:"a\0b",format:1], 1).getvalue(0, 0) => "a\u0000b" d.encoding => #<Encoding:UTF-8> }}} Should be #<Encoding:ASCII-8BIT>

Comments (1)

  1. Log in to comment