I'm running a Ubuntu 14.04 32 bit. I'm facing a strange problem displaying Chinese characters in terminal, files, MySQL terminal etc. The Chinese characters are displaying as ?????. After some googling, I found out running locale was returning LC_ALL empty. When I export LC_ALL to en_GB.UTF-8, the ????? are replaced to some special characters like diamond symbols.
But when I connect to this system over SSH(from another Ubuntu PC), I'm able to view Chinese characters properly after setting LC_ALL. Without LC_ALL, the Chinese characters as displayed as ?????.
I have another system running similar environment in which I'm able to display Chinese characters without exporting LC_ALL. Moreover, locale returns LC_ALL as empty.
I assume there could be some encoding difference between the systems or maybe some fonts may not be available.
Is there anything I'm missing or any packages missing in this problematic PC? How can I make sure the locales are same between the systems ? Also, what are the packages that are required to display Chinese characters or other foreign characters in Ubuntu?