-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"CharacterSet" => SQLSRV_ENC_CHAR on Linux #515
Comments
@gruyoman SQLSRV_ENC_CHAR in linux only works with ASCII characters, and you should set the character set to utf-8 for non-ASCII characters. please see https://github.com/Microsoft/msphpsql#limitations |
@gruyoman is there anything else that we can help you in? |
I've seen that in linux SQLSRV_ENC_CHAR behaves exactly like UTF-8. That means that SQLSRV_ENC_CHAR actually doesn't exist. The problem is that there isn't compatibility between windows and linux web application with SQLSRV_ENC_CHAR. |
hi @gruyoman, that is not possible and as @Hadis-Fard mentioned above it's a limitation in the Linux driver. I have created a feature request for this we will look into supporting this in future releases. |
Ok, thank you |
In the Windows server "CharacterSet" => SQLSRV_ENC_CHAR is the default setting.
In Linux SQLSRV_ENC_CHAR exists or not? Even when I set it, it uses UTF-8.
Thanks
The text was updated successfully, but these errors were encountered: