SQL ERROR!!

SQL USED : SELECT wl.*, wspc.* ,wl.id as whr_id ,whh.* FROM wh_all AS wl LEFT JOIN (SELECT * FROM wh_sp_mst WHERE from_date <=1765952384 AND suspend=0 AND wh_all_id = ������z{ ORDER BY from_date DESC LIMIT 1) AS wspc ON wspc.wh_all_id = ������z{ LEFT JOIN (SELECT * FROM wh_build_spec WHERE from_date <=1765952384 AND suspend=0 AND wh_all_id = ������z{ ORDER BY from_date DESC LIMIT 1) AS whh ON whh.wh_all_id=������z{ WHERE wl.suspend = 0 AND wspc.from_date <=1765952384 AND wl.id=������z{ AND wspc.wh_all_id=������z{ group by wl.id @ warehouse-landing.php line 26
SQL RESPONCE : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '������z{ ORDER BY from_date DESC LIMIT 1) AS wspc ON wspc.wh_all_id = �' at line 3