[vtkusers] About writers on windows
Cory Quammen
cory.quammen at kitware.com
Wed Mar 15 10:11:36 EDT 2017
Echoing to the list as this is useful information.
Thanks,
Cory
On Tue, Mar 14, 2017 at 4:34 PM, Rustem Khabetdinov
<rustem.khabetdinov at gmail.com> wrote:
> Hello,
>
> Actually today I managed to fix this problem. I noticed that the only
> difference between ParaView and VTK generated files is the first line of
> .vtm file where the xml version tag is. So I disabled it using
> EncodeAppendedDataOff() and the error is gone.
>
> Thank you,
> Rustem.
>
> 2017-03-14 17:56 GMT+03:00 Cory Quammen <cory.quammen at kitware.com>:
>>
>> Rustem, to clarify, do the Cyrillic characters appear only in the path
>> to which you are saving the file, or do Cyrillic characters appear
>> *in* the file.
>>
>> Thanks,
>> Cory
>>
>> On Fri, Mar 10, 2017 at 10:50 AM, Rustem Khabetdinov
>> <rustem.khabetdinov at gmail.com> wrote:
>> > I am sorry but probably my description of the problem was not very
>> > clear. As
>> > far as I know ParaView uses vtk writers but when I save something from
>> > paraview gui everything after that loads fine. And if I open created
>> > .vtm
>> > file it says that it has cp1251 encoding. But when I try to use vtk
>> > itself
>> > to save multiblock dataset it saves everything in utf-8 encoding and
>> > because
>> > of that ParaView is unable to load this file.
>> >
>> > 2017-03-10 17:29 GMT+03:00 Cory Quammen <cory.quammen at kitware.com>:
>> >>
>> >> Oops, sorry, this is a VTK XML file issue and I pointed to a ParaView
>> >> issue - but I'm guessing the underlying problem is the same.
>> >>
>> >> On Fri, Mar 10, 2017 at 9:28 AM, Cory Quammen
>> >> <cory.quammen at kitware.com>
>> >> wrote:
>> >> > Rustem,
>> >> >
>> >> > Unfortunately, there is a longstanding issue with non-Latin
>> >> > characters
>> >> > in ParaView state files:
>> >> > https://gitlab.kitware.com/paraview/paraview/issues/12708
>> >> >
>> >> > I'm not sure how much work it would be to support non-Latin
>> >> > characters
>> >> > (I'm no UTF-* expert).
>> >> >
>> >> > Best,
>> >> > Cory
>> >> >
>> >> > On Fri, Mar 10, 2017 at 9:10 AM, Rustem Khabetdinov
>> >> > <rustem.khabetdinov at gmail.com> wrote:
>> >> >> Hello,
>> >> >> I am not sure if I should write it here or paraview mailing list but
>> >> >> I
>> >> >> have
>> >> >> an issue when I try to save multiblock dataset with
>> >> >> vtkxmlmultiblockdatawriter. When I use it on Windows and try to save
>> >> >> something with cyrillic chars in path it saves everything in UTF-8.
>> >> >> So
>> >> >> when
>> >> >> I try to open this file in paraview(or vtk) there is an error that
>> >> >> says
>> >> >> that
>> >> >> the xml file is not well-formed. But when I use paraview to save
>> >> >> multiblock
>> >> >> dataset it saves everything with local(cp1251) encoding and I am
>> >> >> able
>> >> >> to
>> >> >> open it everywhere.
>> >> >> Is there anything that I need to change in writer in order to use
>> >> >> local
>> >> >> encoding in xml files?
>> >> >>
>> >> >> Best Regards,
>> >> >> Rustem Khabetdinov.
>> >> >>
>> >> >> _______________________________________________
>> >> >> Powered by www.kitware.com
>> >> >>
>> >> >> Visit other Kitware open-source projects at
>> >> >> http://www.kitware.com/opensource/opensource.html
>> >> >>
>> >> >> Please keep messages on-topic and check the VTK FAQ at:
>> >> >> http://www.vtk.org/Wiki/VTK_FAQ
>> >> >>
>> >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers
>> >> >>
>> >> >> Follow this link to subscribe/unsubscribe:
>> >> >> http://public.kitware.com/mailman/listinfo/vtkusers
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Cory Quammen
>> >> > Staff R&D Engineer
>> >> > Kitware, Inc.
>> >>
>> >>
>> >>
>> >> --
>> >> Cory Quammen
>> >> Staff R&D Engineer
>> >> Kitware, Inc.
>> >
>> >
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R&D Engineer
>> Kitware, Inc.
>
>
--
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
More information about the vtkusers
mailing list