Hello all,

I have data in my MySQL table. some of my columns contains Arabic texts. [My DB and J2EE webapp is on Centos7].
When I tested the application on my laptop [Windows], it displays properly; however, when I deploy my WAR file on Centos linux, then the Arabic text, coming from MySQL, is displaying as ?????.

I verified my schema and DB/table character set is configured as utf-8. Also, in my JSP, that displays the Arabic text, I have charset as utf-8. But, still the arabic text is coming as ????.

Any help, please?

does the host db override your code settings:
open the dbmanager on the host and confirm the DBmanager itself is compatible with utf-8 declaration
often it is as simple as changing a default setting

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.