Zhang was born to a Christian family on 21 September (the 18th day of the 8th lunar month), 1910. Both of his parents were doctors who worked at a mission hospital in Shanghai. In 1911, the family moved to Fuzhou, Fujian. He was sent to a local private primary school at the age of 7, he then attended Ko-Chih High School at the age of 13. Despite his father's objections, Zhang sought to transfer to Shanghai, spending the last year of high school in there. Soon afterwards he was admitted to Fukien Christian University. After completing his first year, he transferred to Faculty of Agriculture, University of Nanking.[4]
Upon graduation Zhang returned to Fukien Christian University as a lecturer. Supported by the university, he surveyed tea cultivation and processing in Japan and then Taiwan under Japanese rule between 1934 and 1935. Later, he established and headed a vocational college of agriculture along with a tea intensive breeding base in Fu'an. In 1936, he introduced the tea processing machines from Japan, facilitating the automation of the domestic tea industry. From 1942 to 1944, he resumed teaching at Fukien Christian University. Then he took over the leadership of the National Tea Research Institute in Chong'an county.[5]