mysql table encoding


    In recent days I had a problem in printing the Japanese / Chinese scripts which are entered by the end user in my application. This issue really bugged me for a week. After so much debugging I fixed the issue.

    Actual root cause :

    The text encoding failed in terms of handling the conversion of Japanese script to a string and also the Database collation is set to Latin by default in MySQL when I created my schema, which does not accept such scripts to be entered.