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
Indexing problem with Polish characters #2
Comments
I am not currently able to test indexing Polish characters not encoding properly likely occurred because I used Please let me know. |
Modified SQL code you provided by email
I do agree there is an issue, as I have used the above and index using MySQL reference manual supports the usage of utf8mb4. So, possibly an issue relating to PHP submitting the data to SQL. I haven't tested this theory, but I am using prepared statements in PHP to insert data into the database. But, I also disagree with the point I just made, as the
|
I may have a possible solution. In this case, |
I'm keeping my fingers crossed for a successful resolution of this problem. Warm regards |
I have tested with the tables configured as
Erroneous data inserted into the database via PDO. |
I have discovered a possible fix (more work is needed) for PHP submitting data into the database.
Now, this only fixes the values inserted into the database. These values still need to be decoded using
I am including an article relating to UTF-8 charset for PHP as I suspect the choice of using JSON to encode and decode is the wrong choice for UTF-8. But this is still a work in progress. JSON encoded strings in database JSON decoded strings on frontend |
Non-ASCII Character Fix
Currently, the database tables Bug explainedInside However, I am not necessarily happy using |
Email body below.
The text was updated successfully, but these errors were encountered: