[vtkusers] vtkDICOMReader read chinese character problem

David Gobbi david.gobbi at gmail.com
Thu Mar 30 08:12:35 EDT 2017


Hi Ang,

The vtkDICOMReader needs the filenames to be utf8.  But I am guessing that
you have already tried utf8?

What is the Transfer Syntax UID for the dicom file?

 - David


On Thu, Mar 30, 2017 at 4:17 AM, Ang <ysa0829 at gmail.com> wrote:

> Hi all,
>
> My IDE is vs 2015 with QT 5.6 and vtk 7.1.
>
> My sorting dicom pipline is  QFileDialog -> QStringlist -> vtkDICOMReader.
>
> When I set FileName with chinese character like "c://中文/dicom.dcm", I can
> retrieve infomation in Dicom tag, but I can't retrieve raw data.
>
> I have tried to convert utf8 to ansi (it  works well in VtkgdcmImageReader
> class),but  vtkDICOMFile class will give me error message in Access
> function.
>
>
> Is there a way to read chinese character with  vtkDICOMReader  well?
>
> Thanks in advance for your help.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170330/320e961c/attachment.html>


More information about the vtkusers mailing list