From f67240e566e7aaa939e789ccde4fca5884e928ee Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 17 Oct 2017 16:02:12 -0700 Subject: [PATCH] change encoding to converting from long to string to UTF8 --- source/shared/core_stmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared/core_stmt.cpp b/source/shared/core_stmt.cpp index f0e022e1..e0e35440 100644 --- a/source/shared/core_stmt.cpp +++ b/source/shared/core_stmt.cpp @@ -386,7 +386,7 @@ void core_sqlsrv_bind_param( _Inout_ sqlsrv_stmt* stmt, _In_ SQLUSMALLINT param_ } if( zval_was_long ){ convert_to_string( param_z ); - + encoding = SQLSRV_ENCODING_UTF8; match = Z_TYPE_P( param_z ) == IS_STRING; } else {