On Thu, Dec 16, 2010 at 07:24:46PM -0800, David Wheeler wrote: > On Dec 16, 2010, at 6:39 PM, Alex Hunsaker wrote: > > > Grr that should error out with "Invalid server encoding", or worst > > case should return a length of 3 (it utf8 encoded 128 into 2 bytes > > instead of leaving it as 1). In this case the 333 causes perl > > store it internally as utf8. > > Well with SQL_ASCII anything goes, no?
Anything except a byte that's all 0s :( Cheers, David. -- David Fetter <da...@fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers