Programmatically determine number of strokes in a Chinese character?

character-encoding, cjk, unicode

Solution

A little googling came up with Unihan.zip, a file published by the Unicode Consortium which contains several text files including `Unihan_RadicalStrokeCounts.txt` which may be what you want. There is also an online Unihan Database Lookup based on this data.

Problem

Does Unicode store stroke count information about Chinese, Japanese, or other stroke-based characters?

Original source

Related problems