-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Issue when use DB MS SQL #1896
Comments
@herdianabdillah The fix is varchar -> nvarchar? |
@thorsten not only that. in the query also need to add N before the string. in the code should be like this N'%s' |
e.g. |
Okay, I found some examples on StackOverflow. This is a big change. |
@herdianabdillah What do you think, should I change all VARCHAR() columns to NVARCHAR() or just the ones with user generated content? |
yes, like that |
from my case, just the ones with user generated content. like category, faq title, body, keyword, etc. and some case in the user field too for full name so i also change that |
Moving this to the 3.2 milestone as it has a huge impact. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
cant insert chinese, japan, thai character in MSSQL, because data type is "varchar"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
able to input that character
phpMyFAQ (please complete the following information):
Additional context
i already fix the issue manually with change data type into "nvarchar" also in the query add N before string
The text was updated successfully, but these errors were encountered: