Derek Boone
Derek Boone
Thanks for your reply. The example using `0x0A0B0C0D` works. However, try something like `0xFAFBFCFD` and the same error is created: `Cannot execute query. ERROR: invalid byte sequence for encoding "UTF8"`....
Any additional ideas regarding this issue? I dug through the Postgres logs and found this: SOCI ``` ... 2016-09-07 12:51:30 EDT STATEMENT: BEGIN 2016-09-07 12:51:30 EDT DEBUG: 00000: CommitTransactionCommand 2016-09-07...
Thanks for the suggestion. The parameter and literal produce the same error. I have tried all sorts of things. I stepped through the SOCI source several times. When I used...
Additionally, I had trouble getting the Postgres logs to show the erroneous query. I feel like that might shed some light on the issue.
> Surely there must be a way to pass arbitrary binary data? My thoughts exactly! I still feel like I'm missing something. It's strange that my example query above works...
Here is my new SOCI query. In UTF8, `E280A1` is hex for the double dagger symbol `‡`. ``` cpp sql