Zhang Ji (张继; fl. 8th century), courtesy name Yisun (懿孙), was a Chinese poet born in Xiangyang, Hubei during the Tang Dynasty.
Little is known of his life; his approximate dates are 766-830. Others place his dates from 712-715 to 779, which fits better with the fact that he obtained passed the jinshi examination in 753 (13 years before 766).
He is credited under the name Chang Tsi as the author of the original Chinese text for the second movement of Das Lied von der Erde by Gustav Mahler. The movement's title is "Der Einsame im Herbst" in German and "The Lonely Soul of Autumn" in English. The lyrics lament the dying of flowers and the passing of beauty.
Zhang is also credited with an untitled work listed as Fengqiao Yebo (枫桥夜泊, "Ancient Poem") in the classic anthology Three Hundred Tang Poems.
The identity of Mahler's Chang Tsi, sometimes Tchang-Tsi and Ts'ien-Ts'i, has not been definitively determined because the Western translation of the name corresponds to several combinations of Chinese characters, and the text as adapted by Mahler, after very free treatment by more than one translator, is hard to match to a specific Chinese original. Some believe he is Chang Tsi whereas others think that he is his companion Chien Chi (钱起).