Got charset of table by joining 2 tables