+ unsigned char name[256];
+ int ucs = -1;
+
+ printf ("#x%08X ", cid);
+
+ if ( chise_char_gets_feature_value
+ (cid, chise_ds_get_feature (ds, "=ucs"),
+ buf, sizeof (buf)) != NULL )
+ {
+ ucs = atoi (buf);
+ printf ("[U-%08X]", ucs);
+ }
+ else if ( chise_char_gets_feature_value
+ (cid, chise_ds_get_feature (ds, "=>ucs"),
+ buf, sizeof (buf)) != NULL )
+ {
+ ucs = atoi (buf);
+ printf ("(U-%08X)", ucs);
+ }
+ else
+ printf (" ");
+
+ if ( chise_char_gets_feature_value
+ (cid, chise_ds_get_feature (ds, "name"),
+ name, sizeof (name)) != NULL )
+ printf (" %s", name);