I'm creating a new app that is connected to a local host MYSQL database (for now) and the app users will enter the data in Arabic language. The problem is that when I insert the data by using java the field in database show me this "?????????" in the main time when I insert the data directly from phpmyadmin it works.
I found on the internet two steps
- is to set the Collation to utf8_general_ci and i have already did that
- there are two sentences that should be written within the java code i don't know what they are and how use them they might be the solution.