Jimmy Carter actually said...
The United States of America recognizes the People's Republic of China as the sole legal government of China.
Context
Diplomatic Relations Between the United States and the People's Republic of China United States Statement
12/14/1978