Subject: | UTF-8 support appears broken in git master |
I recently ran into #40199 and have been testing the version from source control to see if it would work for us. However, it appears that the UTF-8 support is now broken for all data types. In a round-trip test, the strings come back with the UTF-8 flag on, but they appear to have been doubly encoded. For instance, "\u263a" comes back as "\u00e2\u0098\u00ba" (with the UTF-8 flag on).
The character is correctly encoded in Pg. The client_encoding is set to UTF-8.
Previously, this sort of test worked fine previously for text columns, but not citext columns.