Does you use utf-8 and your web page contain this content-tag?
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
JC Coez wrote:
OK,
Even if it occurs inside a comment ?
For example : <!-- éè --> in Html and //é or /* éé */ in Javascript ...
----- Original Message ----- From: "Oleg Kobchenko" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Friday, May 11, 2007 10:59 AM
Subject: Re: [Jprogramming] JHP bug ?
A few things need to happen:
- the input is saved as UTF-8 file
- the output routine needs to support UTF-8
- the stdout stream needs to support UTF-8 or be converted to Unicode
As a quick workaround, you might want to cosider
encoding the non-ASCII chars with HTML entities
Trés
--- JC Coez <[EMAIL PROTECTED]> wrote:
It took me a long time before I find why my jhp files did not work as I
expected.
When I put some text with letters with accent ( often the case in
french )
the <%....%> are not correctly translated. For example :
------------------------------------------
<% ContentType'text/html' %>
<html><head>
</head><body >
Très mal...
<p>Time is <%= 6!:0 '' %></p>
</body></html>
------------------------------------------
The time is not displayed.
JC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
____________________________________________________________________________________Get
the free Yahoo! toolbar and rest assured with the added security of
spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm