Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:24

Text and Status in Arabic, Chinese and Russian Script


Poster: pere_mr __at__ hotmail.com
Dated: Tuesday June 15 2004 - 21:25:08 BST

I am building a menu the items of which must appear in Chinese script. What is the proper syntax in both the TEXT and the STATUS properties?

Example: the Unicode characters below will display the word 'Chemical Industry' in Chinese

&# 21270;&# 23398;&# 24037;&# 19994; Imagine there is no space between the # and the first number of each character code

化学工业

What syntax should I use in the TEXT and STATUS properties of my menu?

If I type in the following

Code:
aI("text=&# 21270;&# 23398;&# 24037;&# 19994;;url=profiles/html/prof_en_4.html;status=Chemical Industry");
Imagine there is no space between the # and the first number of each character code


The Chinese script appears properly in the menu, although the status bar of the browser shows me that there is an error. If I type in the Unicode characters in the STATUS property, then it does not work at all.

Could someone give me some advice on how to insert these Unicode characters, as I need to display words in Chinese, Arabic and Russian?

Thank you


Poster: kevin3442
Dated: Tuesday June 15 2004 - 23:34:41 BST

Hello,

I just tried the example code you posted (ie6/win2k). The Chinese characters displayed correctlyin the menu. When I out them in status, the status bar shows the unicode codes, but the menu still appears and works. I wonder if the source of the error message is elsewhere? What is the error message (and what browser?)?

How to get the Chinese characters in the status bar... I have no clue yet.

Kevin


Poster: pere_mr __at__ hotmail.com
Dated: Wednesday June 16 2004 - 23:49:20 BST

Any development on the issue of displaying Unicode (Arabic, Chinese, Russian...) characters in the status bar?


Poster: Maz
Dated: Thursday June 17 2004 - 2:35:51 BST

What does the error message say?

maz


Poster: kevin3442
Dated: Thursday June 17 2004 - 3:02:47 BST

Haven't tried it, but I suppose you could try an escaped unicode sequence like \uXXXX where XXXX is the hex value of the unicode. This should also work in the text= property of the aI() string... e.g.,
Code:
aI("text=\u5316\uXXX\uXXX... etc.");


Hope it works. If not, I'm stumped.

Kevin