From d7212e60cb9faec9a2a6502b278395687179c2b6 Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 17 Oct 2017 16:11:05 -0700 Subject: [PATCH] change output biging to encoding 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 e0e35440..a1016644 100644 --- a/source/shared/core_stmt.cpp +++ b/source/shared/core_stmt.cpp @@ -425,7 +425,7 @@ void core_sqlsrv_bind_param( _Inout_ sqlsrv_stmt* stmt, _In_ SQLUSMALLINT param_ case SQLSRV_PHPTYPE_INT: if( zval_was_long ){ convert_to_string( param_z ); - encoding = SQLSRV_ENCODING_SYSTEM; + encoding = SQLSRV_ENCODING_UTF8; } else { convert_to_long( param_z );