Can you share the query and parameters that reproduce the failure?For instance, can you please set loglevel=2 connection property andprovide "FE=> Bind", "FE=> Describe", etc stdout messages that precede"invalid byte sequence" error?
Vladimir