U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » TheIDE fie choser dialog can't recongize Chinese
TheIDE fie choser dialog can't recongize Chinese [message #4744] Mon, 21 August 2006 08:48 Go to next message
Anonymous
heIDE fie choser dialog can't recongize Chinese correctly,so how to solve this?
Re: TheIDE fie choser dialog can't recongize Chinese [message #4745 is a reply to message #4744] Mon, 21 August 2006 09:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Which OS?

What problem looks like? Missing characters (boxes) or something worse?

Mirek
Re: TheIDE fie choser dialog can't recongize Chinese [message #4746 is a reply to message #4744] Mon, 21 August 2006 11:04 Go to previous messageGo to next message
Anonymous
windowsXP,please see attatch
  • Attachment: CHN.JPG
    (Size: 44.14KB, Downloaded 1966 times)
Re: TheIDE fie choser dialog can't recongize Chinese [message #4748 is a reply to message #4746] Mon, 21 August 2006 11:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Thanks.

I believe this is the font problem. We are using Arial for that filelist.

This is a little bit difficult to solve, so please help. In order to have some minimal font support in apps, U++ defines 3 "fundamental" scalable fonts: sans-serif ("Arial"), serif ("Roman") and monospace ("Courier").

These fonts in Windows envinronment are mapped to Arial, Times New Roman and Courier.

BTW, similar scheme is used in HTML protocol.

Now it seems like we should use different fonts for chinesse environment, as Arial obviously lacks chinesse glyphs.

So comes the question: How these settings look like in your web browser? E.g. in firefox, in Tools/Options/Content/Advanced?

Mirek
Re: TheIDE fie choser dialog can't recongize Chinese [message #4749 is a reply to message #4744] Mon, 21 August 2006 11:23 Go to previous messageGo to next message
Anonymous
just another try failed:in following block,I can't input Chinese to replace "hello".



test::test()
{
CtrlLayout(*this, "hello");
}

GUI_APP_MAIN
{
test().Run();
}
Re: TheIDE fie choser dialog can't recongize Chinese [message #4750 is a reply to message #4744] Mon, 21 August 2006 11:27 Go to previous messageGo to next message
Anonymous
my firefox settings:
  • Attachment: FF.JPG
    (Size: 34.37KB, Downloaded 1906 times)
Re: TheIDE fie choser dialog can't recongize Chinese [message #4751 is a reply to message #4749] Mon, 21 August 2006 11:28 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
hongdong wrote on Mon, 21 August 2006 05:23

just another try failed:in following block,I can't input Chinese to replace "hello".



test::test()
{
CtrlLayout(*this, "hello");
}

GUI_APP_MAIN
{
test().Run();
}


Well, this one is most likely caused by file encoding setting. Go to File properties and check. Then adjust the font in Environment settings to make it work...

Mirek
Re: TheIDE fie choser dialog can't recongize Chinese [message #4752 is a reply to message #4744] Mon, 21 August 2006 11:28 Go to previous messageGo to next message
Anonymous
AND:
  • Attachment: FF2.JPG
    (Size: 34.00KB, Downloaded 1988 times)
Re: TheIDE fie choser dialog can't recongize Chinese [message #4753 is a reply to message #4752] Mon, 21 August 2006 11:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
hongdong wrote on Mon, 21 August 2006 05:28

AND:


Great, that supports the theory (you see these 3 fonts we are using too, and you have some chinese name there).

Have you had to enter these fonts there, or did firefox the necessary detection for you?

Where that font comes from?

Mirek

Re: TheIDE fie choser dialog can't recongize Chinese [message #4754 is a reply to message #4744] Mon, 21 August 2006 11:34 Go to previous messageGo to next message
Anonymous
I have change the settings,FF'S(english ver)default settings also works for me.the fonts come with Windows,just need to set the default local as Chinese.that's enough

[Updated on: Mon, 21 August 2006 11:38] by Moderator

Report message to a moderator

Re: TheIDE fie choser dialog can't recongize Chinese [message #4755 is a reply to message #4744] Mon, 21 August 2006 11:36 Go to previous messageGo to next message
Anonymous
In file property,there is no Chinese related Encoding,I hope I can help,but I don't know both U++ and Encoding knowledge.sorry

[Updated on: Mon, 21 August 2006 11:37] by Moderator

Report message to a moderator

Re: TheIDE fie choser dialog can't recongize Chinese [message #4756 is a reply to message #4754] Mon, 21 August 2006 11:38 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Actually, what we need to resolve now is to how to replace that Arial/Roman/Courier with the chinesse font, perhaps when local is chinesse.

Any idea?

Mirek
Re: TheIDE fie choser dialog can't recongize Chinese [message #4757 is a reply to message #4744] Mon, 21 August 2006 11:42 Go to previous message
Anonymous
yes,UltraEdit can be a example,when choose CHN local,every thing is Chinese friendly.that should be I18N/L10N or something.I have to ring out。
Previous Topic: EditField and DateFormat problems
Next Topic: misalligned special characters
Goto Forum:
  


Current Time: Thu Jun 18 13:22:53 GMT+2 2026

Total time taken to generate the page: 0.00622 seconds