On Tue, Dec 7, 2010 at 11:42 AM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
<br>
</div>Marcus,<br>
<br>
Just to clarify, what encoding should be given to vtkTextActor::SetInput<br>
()? Last I tried, it seemed to expect ISO-8859-1. Certainly a step up<br>
from ASCII! Is the long term plan for it to accept UTF8?<br></blockquote><div><br>I think it is best if VTK strings use the system default encoding, rather<br>than utf-8. For unicode there is always vtkUnicodeString. More classes<br>
should be adapted to take vtkUnicodeString as input (but only, of course,<br>if they are internally capable of using/rendering unicode).<br><br>But I'm flexible. Really, I'm just pushing for VTK's string handling to be<br>
more similar to Python's. ;)<br><br> David<br><br> </div></div>