Here are some common ways to write "Cody" in Chinese, using pinyin, the romanization system for Mandarin Chinese:
* 科迪 (Kēdí): This is a direct transliteration of "Cody." It's a common way to write foreign names in Chinese.
* 柯蒂 (Kētì): This is another transliteration that uses different characters but still sounds similar to "Cody."
Ultimately, the best way to spell "Cody" in Chinese depends on the context and the person you are writing to. If you are unsure, it's best to ask the person directly or consult with a Chinese speaker.