On Sunday 17 November 2002 13:46, Ilya Konstantinov wrote:
> On Sun, Nov 17, 2002 at 10:12:39AM +0200, [EMAIL PROTECTED] wrote:
> > Has your input come from Mozilla? It does that. To make sure, write a cgi
> > script (if you don't trust PHP) that displays its input as text/plain,
> > and create a form in UTF8 that sends to that script.
>
> Actually, both IE5 and Mozilla will encode characters which aren't
> present in the charset of the page which contains the HTML form, as
> Unicode "entities" (e.g. &#blah;).
<snip>
> To avoid this behavior, simply make this page, which contains the
> HTML form, in any Unicode encoding -- UTF-8, UTF-7 or UCS-2 (yuck!).

But I stated in my first email that I patched phpnuke to do utf-8. The first 
thing I did was to change the charset= attribute.I even patched the xml 
container (standard feature of xhtml) because it also specifies 
a charset, but there is no difference.

I must say that I now tested the site with konqueror (see below why I am using 
galeon for this site) and indeed it is a mozilla unexpected (to me) behaviour 
which caused the translation of utf8 to numbered entities. I think I will 
write a maintenance script that will access the database directly and chage 
numbered entitiesback to utf8, easier than changing parts of the php code 
which I didn't research sufficiently. Is there a way to disable this 
translation "feature" of mozilla and ie?

The whole matter is complicated by the fact that konqueror will crash on large 
texts pasted into textarea boxes of forms, and I am posting long papers 
(20-30 pages), so I have been using galeon.

Arie
-- 
It is absurd to seek to give an account of the matter to a man 
who cannot himself give an account of anything; for insofar as
he is already like this, such a man is no better than a vegetable.
           -- Book IV of Aristotle's Metaphysics



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to