[vtkusers] bug 0009618 and UTF 8 text rendering fix question
David Gobbi
david.gobbi at gmail.com
Tue Dec 7 15:13:56 EST 2010
On Tue, Dec 7, 2010 at 11:42 AM, Sean McBride <sean at rogue-research.com>wrote:
>
> Marcus,
>
> Just to clarify, what encoding should be given to vtkTextActor::SetInput
> ()? Last I tried, it seemed to expect ISO-8859-1. Certainly a step up
> from ASCII! Is the long term plan for it to accept UTF8?
>
I think it is best if VTK strings use the system default encoding, rather
than utf-8. For unicode there is always vtkUnicodeString. More classes
should be adapted to take vtkUnicodeString as input (but only, of course,
if they are internally capable of using/rendering unicode).
But I'm flexible. Really, I'm just pushing for VTK's string handling to be
more similar to Python's. ;)
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101207/45302ffc/attachment.htm>
More information about the vtkusers
mailing list