You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a Mysql2::Client with encoding: 'utf8mb4', passing a standard binary string (ASCII 8-bit encoded) to the encoding-aware #escape method sometimes returns an escaped string with UTF-8 encoding, and sometimes returns an unchanged binary string maintaining its ASCII 8-bit encoding. I'd expect that all binary string inputs would return an output in the same encoding, whether that's escaped UTF-8 or unchanged ASCII 8-bit.
Using a
Mysql2::Client
withencoding: 'utf8mb4'
, passing a standard binary string (ASCII 8-bit encoded) to the encoding-aware#escape
method sometimes returns an escaped string with UTF-8 encoding, and sometimes returns an unchanged binary string maintaining its ASCII 8-bit encoding. I'd expect that all binary string inputs would return an output in the same encoding, whether that's escaped UTF-8 or unchanged ASCII 8-bit.Reproduction:
The text was updated successfully, but these errors were encountered: