Page 1 of 2

Can't show korea words, bugs?

PostPosted: Mon Feb 13, 2006 10:25 am
by kenhsion
Dear:
I tried BRU to used at Arabic, Chinese and Japanese, that works fine.
But Korea characters are all wrong, they show â–¡â–¡â–¡â–¡â–¡â–¡.

I thought Unicode still have something wrong, PLZ check it.

thx

Ken

PostPosted: Mon Feb 13, 2006 11:26 am
by Admin
Did you definitely downlaod the Unicode version?

In the Unicode version I don't make any differentiation between languages, I merely disdplay whatever Windows throws at me.

I'm successfully displaying far-east characters in my version on Windows XP - thi is the filename I'm showing:

Code: Select all
FFLeslie Cheung 張國榮



Jim

PostPosted: Wed Feb 15, 2006 3:36 am
by kenhsion
I am using unicode version Build 2.2.9.0.
You can see this pic

Image

Only Korea language can not display, others are correct.
:roll:

PostPosted: Wed Feb 15, 2006 8:22 am
by Admin
Okay, but there's nothing I can do about it I'm afraid :-) The utility is compiled with MBCS support, and compiles with no errors and no warnings. I can only assume it's something clever that Microsoft does in its own programs. As I say, I don't even know what languages I'm dealing with, all I know is that I ask Windows for a filename and it gives it to me as a text string. So, I'm afraid I don't think there's a resolution to this one, unless anyone else can offer me some advice?

Jim

PostPosted: Wed Feb 15, 2006 8:42 am
by Admin
Can you email me a RAR file (or ZIP, though RAR is better) containing some sample filenames? 2 or 3 of each please - ones which work and ones which don't work. At least then I can work through the code and see what Windows is reporting to it.

Small files only please - it's the names I need, not the content.

Cheers,



Jim

PostPosted: Wed Feb 15, 2006 10:47 am
by kenhsion
Sure :D But I don't know your email address. :?

So I put it on my site. 8)

PostPosted: Wed Feb 15, 2006 12:11 pm
by Admin
Yes, I can see the problem. However, the cause of it is beyond me I'm afraid.

Korea seems to have its own Unicode rules (http://msdn.microsoft.com/archive/defau ... mbcssg.asp), but there seems to be no way within MFC to obey these rules. Perhaps it's a codepage issue, I don't know.

If anyone can shed any light on this then please feel free, because for the time being there's nothing else left for me to tweak.....


Jim

PostPosted: Thu Jun 01, 2006 8:17 am
by cphk
I think you may used a font that does not contrain Korea charactor, let the user to select a font should resolve this problem.

PostPosted: Thu Jun 01, 2006 8:26 am
by Admin
I'm using Arial 8, which does have Korean support.

PostPosted: Thu Jun 01, 2006 1:35 pm
by cphk
Arial cannot display Korean (at lease on my Windows XP), "Microsoft Sans Serif" is the font support most unicode (include Korean) come with Windows XP, you may try it.

PostPosted: Thu Jun 01, 2006 2:08 pm
by Admin
Okay, I've uploaded a new Beta to the website. This now uses MS Sans Serif.

(Older versions used MS Sans Serif, and I was requested to change it).

Let me know if this one is better.



Jim

PostPosted: Thu Jun 01, 2006 3:08 pm
by cphk
The new beta works in criteria section now, but not in file list and folder list.

PostPosted: Thu Jun 01, 2006 3:31 pm
by Admin
Ok. I have just uploaded yet another vesion, where I'm manually setting the font to be MS Sans Serif 8. Please coudl you try that.

Same file version, just a later timestamp.


Jim

PostPosted: Thu Jun 01, 2006 3:57 pm
by cphk
It is same as the previous beta.

PostPosted: Thu Jun 01, 2006 3:59 pm
by Admin
Ok, in which case it's a limitation of the development environment.

I can set the font to Courier and I see the font change take effect. But whenever I set it to "MS Sans Serif", it doesn't matter what size I make it, it never looks any different on the screen.


Jim