[vtkusers] vtkUnicodeString::from_utf8(): not a valid UTF-8 string.
david.gobbi at gmail.com
Thu Aug 20 11:34:45 EDT 2015
You might have mis-typed, the function that I provided already takes latin1
and converts to utf-8. I don't have a function that does the reverse, but
the operation is straightforward: convert the utf-8 to unicode, and then
truncate the unicode to 8 bits, throwing away or replacing any values that
don't fit into 8 bits.
On Thu, Aug 20, 2015 at 6:21 AM, Jose Barreto <jose.de.paula at live.com>
> David, thank you for the method is really useful for me.
> You already have done something for the reverse?
> Takes back the latin and convert to utf-8?
> View this message in context:
> Sent from the VTK - Users mailing list archive at Nabble.com.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers