Criminal Code of the Armed Forces Article 24

A person who surrenders to an enemy will be sentenced to death, imprisonment for life or imprisonment for not less than ten years. A person who derelicts duty and surrenders to an enemy will be punished with imprisonment for not less than one year and not more than seven years.An attempt to commit an offence specified in the two preceding paragraphs is punishable.A person who commits the offence premeditatedly in the preceding paragraph shall be punished with imprisonment for not less than six months and not more than five years.
中文原文 陸海空軍刑法第24條
投敵者,處死刑、無期徒刑或十年以上有期徒刑。
不盡其應盡之責而降敵者,處一年以上七年以下有期徒刑。
前二項之未遂犯,罰之。
預備或陰謀犯第一項之罪者,處六月以上五年以下有期徒刑。

English translation for reference only; the Chinese text prevails. Not legal advice.