Re: I cannot use Chinese Characters Directory and name in <vtkDICOMReader> reader

Xing Li <[email protected]> Sun, 5 May 2019 14:38:49 +0800
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CAFWHfKObenmTiNCzzTFjZaaFT=ge11UcA7znpWQSmmmDhF5NBQ@mail.gmail.com>
--===============0791732598==
Content-Type: multipart/alternative; boundary="00000000000074c8ab05881e3da4"

--00000000000074c8ab05881e3da4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

If you use Qt, qPrintable(QString ) can convert the string into utf-8

David Gobbi <[email protected]> =E4=BA=8E2019=E5=B9=B45=E6=9C=883=E6=97=
=A5=E5=91=A8=E4=BA=94 =E4=B8=8B=E5=8D=887:52=E5=86=99=E9=81=93=EF=BC=9A

> The vtkDICOMReader always uses utf-8 for string encoding.
>
> On Thu, May 2, 2019 at 10:37 PM David <[email protected]> wrote:
>
>> I would like to use to read the Compression Dicom, so I use vtkDICOMRead=
er
>> instead of <vtkDICOMImageReader>.
>>
>> It was success for reading the Compression Dicom.
>>
>> However, I cannot use Chinese Characters Directory and name in
>> <vtkDICOMReader> reader.
>>
>> How can I use Chinese Characters Directory and name in <vtkDICOMReader>
>> reader?
>>
>> Thank you for your attention.
>>
> _______________________________________________
> 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=3Dvtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>

--00000000000074c8ab05881e3da4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">If you use Qt, qPrintable(QString ) can convert the string=
 into utf-8=C2=A0</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas=
s=3D"gmail_attr">David Gobbi &lt;<a href=3D"mailto:[email protected]">d=
[email protected]</a>&gt; =E4=BA=8E2019=E5=B9=B45=E6=9C=883=E6=97=A5=E5=
=91=A8=E4=BA=94 =E4=B8=8B=E5=8D=887:52=E5=86=99=E9=81=93=EF=BC=9A<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>The=
 vtkDICOMReader always uses utf-8 for string encoding.</div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, May 2, 2019 =
at 10:37 PM David &lt;<a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex">I would like to use to read the Compression Dicom, so I =
use vtkDICOMReader<br>
instead of &lt;vtkDICOMImageReader&gt;.<br>
<br>
It was success for reading the Compression Dicom.<br>
<br>
However, I cannot use Chinese Characters Directory and name in<br>
&lt;vtkDICOMReader&gt; reader.<br>
<br>
How can I use Chinese Characters Directory and name in &lt;vtkDICOMReader&g=
t;<br>
reader?<br>
<br>
Thank you for your attention.<br>
</blockquote></div></div>
_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" rel=3D"noreferrer" target=3D"=
_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" rel=3D"noreferrer" target=3D"_blank">http://=
www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href=3D"http://w=
ww.vtk.org/Wiki/VTK_FAQ" rel=3D"noreferrer" target=3D"_blank">http://www.vt=
k.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href=3D"http://markmail.org/search/?q=3Dvtk=
users" rel=3D"noreferrer" target=3D"_blank">http://markmail.org/search/?q=
=3Dvtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"https://vtk.org/mailman/listinfo/vtkusers" rel=3D"noreferrer" ta=
rget=3D"_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div>

--00000000000074c8ab05881e3da4--

--===============0791732598==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers

--===============0791732598==--