If you're using ibm_db2:
    
 ;ibm_db2.i5_override_ccsid=[0, ascii ccsid]
 ;1208 - UTF-8 ccsid (default)
 ;!0 - other pase ccsid
 ; 0 - original PASE 'job guess' ccsid
    
   I don't know about pdo_ibm, though.
    
     ----- Original message -----
     From: Steve Richter <stephenrichter@xxxxxxxxx>
     Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
     To: Midrange Systems Technical Discussion
     <midrange-l@xxxxxxxxxxxxxxxxxx>
     Cc:
     Subject: Re: how to insert hex data into UTF-8 column?
     Date: Mon, Mar 11, 2019 12:17 PM
      
     On Mon, Mar 11, 2019 at 1:09 PM Richard Schoen via MIDRANGE-L <
     midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
     >
     > I wonder if the DB2 driver has a switch to auto-handle the UTF-8 data
     the
     same as .Net does on the ODBC driver.
     >
     does PHP use the ODBC driver?  Zend might have built its own way of
     working
     with DB2.  They would have to open source the interface to know for
     sure.
     --
     This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
     list
     To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
     To subscribe, unsubscribe, or change list options,
     visit: [1]
https://lists.midrange.com/mailman/listinfo/midrange-l
     or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
     Before posting, please take a moment to review the archives
     at [2]
https://archive.midrange.com/midrange-l.
     Please contact support@xxxxxxxxxxxx for any subscription related
     questions.
     Help support midrange.com by shopping at amazon.com with our affiliate
     link: [3]
https://amazon.midrange.com
      
    
References
   Visible links
   1. 
https://lists.midrange.com/mailman/listinfo/midrange-l
   2. 
https://archive.midrange.com/midrange-l
   3. 
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.