-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Use UTF-8 for SQLServer tests #5236
Conversation
That being said, I wonder if it's worth fixing the 2.13 testsuite for that matter. Bugfixes should target the 3.3.x branch currently. |
Oh, I see why AppVeyor is broken. This is unrelated to your PR, nevermind. |
Can you please rebase on the latest 2.13.x branch? This should fix the AppVeyor build. |
Why is this a problem? There is a test that runs SQL against different Unicode strings and passes: dbal/tests/Functional/Platform/LengthExpressionTest.php Lines 38 to 44 in 0dc504e
|
Without this, the test in #5237 fails:
|
b5dabf6
to
b0564bc
Compare
In this case, it should be part of the change that requires it. Note the Note that the support for charset configuration in the test suite is already implemented in #4855. |
Summary
While working on the fix for a bug around how UTF-8 data is handled I discovered that the default test connections to sqlserver are not using UTF-8. I couldn't find any tests that just configured this for them, so figured it should perhaps just be the default. If there's another preferred approach for this please let me know