[vtkusers] Does VTK support UNICODE??
Sean McBride
sean at rogue-research.com
Wed Jul 19 12:26:55 EDT 2006
On 2006-07-19 10:11, Brad King said:
>>> I made the fix for Unicode some time ago. But it is not in CMake.
>>> You have to do the project settings on your own. Also, a few
>>> new classes have to be converted. Only a few lines.
>
>No changes in CMake are needed. Just turn on advanced cache values in
>CMakeSetup and edit the CMAKE_C_FLAGS and CMAKE_CXX_FLAGS options. Add
>"-D_UNICODE" to the flags.
And that simple change allows vtk to show non-ASCII characters?
For example:
void vtkCaptionActor2D::SetCaption ( const char * )
what encoding do I pass the string as? UTF8?
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers
mailing list