This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, February 13, 2008 4:05:10 AM(UTC)
Groups: Registered
Posts: 17
Hello.
I use
- Leadtools V15 ( latest update)
- VB .Net 2005
I tryed to dicom communication by using Leadtool demo ( Dicom Query / Retrieve )
it run so good. but it didn't show Korean
I will attatche a snap image.
so, I have two question
1) How to show double byte language ( like Korean)?
2) "DicomDataSet.Save" method can't open file that have specific path (it had double byte charater. ex. "d:\abc\가나다\1.dcm")
(if you didn't have korean language pack, it is shown broken)
How to solve this problem?
Thank you.
Neo.Ko attached the following image(s):
#2
Posted
:
Wednesday, February 13, 2008 8:05:25 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
I'm not sure if this is a problem with LEADTOOLS or Microsoft, but I'll need your image to test.
Please send a Dicom image which has the Korean text. Also, let me know which tags are supposed to have the Korean text.
Also, please send a link to where I can download the "Korean language pack" you mentioned.
NOTE: If you are attaching a project or file to the forums...
1.) Zip the file(s) up.
2.) Make sure it is less than 5 MB. If it is larger, please send an email to
support@leadtools.com and we'll send you FTP instructions.
3.) Remove ANY AND ALL unlock codes and LEADTOOLS DLLs.
4.) Do not click the preview button, the attachment will not show up when you post it.
If you do not wish to post your file(s) on the forum since they are publically viewable, please send an email to
support@leadtools.com and make sure that you include a link to this forum post.
#3
Posted
:
Wednesday, February 13, 2008 5:19:29 PM(UTC)
Groups: Registered
Posts: 17
Greg,
I uploaded DICOM image file on the ftp site "ftp://ftp.leadtools.com/GCR/"
File name is 18632Post_Image.zip
This image include tags has the Korean text value
- tags
(0008, 0080) Institution Name
(0008, 1040) Institutional Depart Name
(0010, 0010) Patient Name
You can download multi language user interface in the site below
http://download.microsoft.com/download/6/2/e/62e61f10-e106-4f4c-a862-63eec2b41efb/readme.htm
----
I use WindowXP Korea.
it will not be able to think that Korean text was broken with Koren OS
so,
I see Korean text result very occasionally on the Dicom query/retrive demo
Then, Demo has korean result continuously
After i close this demo and startup, Korean text is broken again.
Anyway,
I will wait your response.
Thank you.
#4
Posted
:
Thursday, February 14, 2008 5:39:34 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
I installed the Korean language pack from the site you suggested and even rebooted. I used several of our demos to check those tags and they just show the little bars or boxes for when the text is unrecognizable.
Please send a Unicode text file with the correct text so I have something I can compare it too. Also let me know what editor you're using to view the text correctly.
Another test you could try is to simply make a new form without any LEADTOOLS stuff and just use a tree view or list view, whatever the .NET form control used in the demo and see if it can actually display the text. If it can't, then you know the problem isn't with LEADTOOLS.
#5
Posted
:
Thursday, February 14, 2008 10:43:56 PM(UTC)
Groups: Registered
Posts: 17
Greg,
I solved this problem.
Leadtools demo don't work correctly on the Korean base. ( Dicom Query Retrieve Demo )
This problem was with Unicode.
in demo code
-------------------
Dim tagValue As String
...
tagValue = Utils.GetStringValue(ds, DicomTagType.PatientName)
item = listViewStudies.Items.Add(tagValue)
-------------------
I changed this code to below
-------------------
Dim _PName As String = ""
Dim tmp As Byte()
...
tmp = Utils.GetBinaryValues(ds, DicomTagType.PatientName)
If Not tmp Is Nothing Then
_PName = Encoding.Default.GetString(tmp)
item = listViewStudies.Items.Add(_PName )
tmp = Nothing
End If
-------------------
This code run correctly!
Thank You ^^
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.