Script Error when Encoding changed to Chinese (GB2312)

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
alevik
Beginner
Beginner
Posts: 2
Joined: Mon Jul 29, 2002 7:37 am

Script Error when Encoding changed to Chinese (GB2312)

Post by alevik »

Hi

Script error will occur in IE 6.0 whenever charset GB2312 is used on a page.

It can be replicated on this side by just selecting the Chinese/Japanese Encoding after the page is loaded.


Thanks you
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Do you have a demo of this problem?

-- Andy
alevik
Beginner
Beginner
Posts: 2
Joined: Mon Jul 29, 2002 7:37 am

Post by alevik »

My site is not on line yet.. but the error can be seen with this home site (http://www.milonic.co.uk).

Select Encoding to Chinese at any page with the DHTML Menu will cause the error. I am using IE 6.0 Windows XP. It doesn't seem to occur with an older version 3.3.19.
jkelling
Beginner
Beginner
Posts: 1
Joined: Tue Aug 06, 2002 5:21 am
Contact:

Javascript error when using chinese 2312 encoding

Post by jkelling »

Andy,

I too am having the same exact problems and can pinpoint the exact locations in the script that a having the problems.

Line 42, Char 108
Expected )

Line 198, Char 1
Object expected

And it is very easy to reproduce if you do set IE to use Chinese Simplified GB2312 encoding.

This is happening with the new 3.5 version and it is a new bug as it did not happen in the older versions.

Your help is much appreciated.

Thanks,

Jeff Kelling
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I've posted a fix to the download.

Version 3.5.01 should cure the problem. It's been tested so it should work on your menus. If not let me know and I'll take a look.

Cheers
Andy
Post Reply