KAOHSIUNG, Taiwan—Fallout from Hong Kong’s unrest is galvanizing resistance against China on another front: Taiwan.

Protests in Hong Kong against Beijing’s encroachment have inspired widespread sympathy across the self-ruling island of Taiwan, a longstanding subject of tension in the region that is both claimed by Beijing and supported by the U.S. with arms sales and unofficial political ties.

Sympathies...