ShenFeng312 opened a new issue, #36382:
URL: https://github.com/apache/shardingsphere/issues/36382

   ## Feature Request
   see
   
https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/core/v3/SimpleParameterList.java#L553-L555
   in pg jdbc 
   
   In pgjdbc, strings are always transmitted as UTF-8, regardless of any 
character set settings on the client or in the JDBC URL. The database still 
decodes the received bytes according to the client's client_encoding, and then 
converts them to its internal storage encoding.
   ```
   Java Client String
           │ encode (UTF-8, forced)
           │  ← ignores client/JDBC character set settings
           ▼
        Byte Stream (always UTF-8)
           │
           ▼
   PostgreSQL Server
           │ decode using client_encoding
           ▼
   Database Internal Storage Encoding
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
notifications-unsubscr...@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to