CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to display Chinese Characters in CCS?

Print topic Send  topic

Author Message
aidi
Posted: 10/17/2005, 5:08 AM

testing 人三啊!!!!

How to write chinese characters into CCS 2.3?
I am able to save the chinese characters into MSSQL 2000 but it is unable to display them.
It shows#23233, some number encoding.

I have set the file encoding and site encoding to Chinese Simplified and generated the project but it still does not work.

Thank for help in advance.
aidi
Posted: 10/17/2005, 8:28 AM

anyone???
Benjamin Krajmalnik
Posted: 10/17/2005, 9:47 AM

I assume there are a few things to take care of.
First, make sure the HTML page is defined to use the chinese character set.
Also, I would make sure that session.LCID value is set to a locale ID for
the correct chinese charset.

That's all I can think of.

SZR
Posted: 10/17/2005, 5:43 PM

Benjamin Krajmalnik was right .
You should Set your Response and Request Session.Codepage to one right value (936 or 950)。

Benjamin Krajmalnik 說的沒錯,
你要把你的頁面的發送代碼頁與服務器端的寫出代碼頁調成一致的,936是簡體GB3212, 950 是繁體BIG5 ,然后設定正確的頁面顯示編碼(Encoding)。
aidi
Posted: 10/17/2005, 11:48 PM

How do i change or set that?
What i did is under the resources (CCS3.0 beta), I created a new locales and set the Language to Chinese, Output Encoding to Simplified Chinese GB2312, Locale ID to zh-SG.

Where do I set the Response and Request.Session.Codepage setting?
Do I need to use customised coding like before Initialization to set it?
Thanks
aidi
Posted: 10/18/2005, 12:02 AM

Hi I got it done by change the label's context to html instead of text.
Just to check is there a direct way to change the whole page to html instead of manually setting each label and text box?

Thank you
Aidi
Posted: 10/18/2005, 12:23 AM

Only label has that html content properties...Textbox, Radio, ListBox all don't. Any suggestions?
Sorry I am very new to this multi-language thing.
thanks for help
peterr


Posts: 5971
Posted: 10/18/2005, 12:27 AM

Textboxes don't have such property. For labels, you can open the file PageName.ccp in Notepad, then search and replace html="False" with html="True".
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
peterr


Posts: 5971
Posted: 10/18/2005, 12:27 AM

This property is not needed for Textboxes - it doesn't exist.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Aidi
Posted: 10/19/2005, 12:59 AM

Quote peterr:
This property is not needed for Textboxes - it doesn't exist.

In that case, how do i display chinese characters in textbox, listboxes, etc?
aidi
Posted: 10/23/2005, 10:38 AM

updated?

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.