gi: support char *