printf type function for multi-byte characters