VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12[3] ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 20:03:05 06/18/00 Sun
Author: Kent Cheung
Subject: Re: Chinese in Layers

> Since the layer tag is not a standard HTML tag and is
> limited to contain a single entity, you will find that
> even Netscape don't recommend the use of layer tag.
>
Thank you for your suggestion. However, I think you might have misunderstood my problem. Here is my problem restated.

I noticed that Document.write() cannot write correctly for Chinese characters. In fact, if I use new Layer() and then use layer.document.write() to write the content, only rubbish characters can be produced.

On the other hand, document.write() produces the correct results in the other places, whether these lines are or are not embedded between the <layer> tag.

I don't want the layer tag but I just want to show that Document.write() behave differently in the two forms of layers! My other guess, is Document.open() the one which makes the difference? NN opens the wrong kind of stream so the strings written are wrong?

Thanks anyway.

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.