017a9338b3
The Wiktionary REST API does not support Chinese entries — simplified characters return 404, traditional characters omit Chinese results, and no pronunciation data is ever included. Switch Chinese lookups to the Wiktionary Action API which returns full wikitext with pinyin and definitions. Also add encodeURIComponent to the REST API URL for all other languages. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>