The PHP function that texttoimage uses only supports Unicode using HTML entities encoding (&#xxx;), this encoding is however not supported by eZ publish yet.
You could try to enter the HTML entities directly in the text if the text is written in the template itself and not fetched from an object.