Re: Question re. PHP/HTML-generated French characters.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i'm just add the niel
don't forget for the HTML header.
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"
lang="fr"

/>

this header are self explain..
i mean here.. this tag mean to explain about the html/page u write..
there was some browser.. which can't read the entities correctly (named OLD
browser one). with this.. the browser might know the write/the font u use

sry.. for my languages

cmiiw..
----- Original Message -----
From: "Niel Archer" <niel@xxxxxxxxxxxxx>
To: <php-windows@xxxxxxxxxxxxx>
Sent: Saturday, February 10, 2007 1:10 AM
Subject: Re:  Question re. PHP/HTML-generated French characters.


Hi

> This is to ask a (possibly rudimentary) question re. specifying French
> language characters to be displayed on an HTML page generated from PHP.
In
> this case, the browser does not show the Français chars. (accents etc.)
> properly.  Possibly one of those ultimately straightforward (yet
> personally-elusive) issues to resolve.
>
> Does anyone in the PHP community have any experience with specifying
support
> for extended charsets on HTML-generated pages from PHP - or can suggest a
> link to a site where this is documented?  If so, I would appreciate some
> direction with it.  Thanks very much in anticipation of your time and
> response.

  This may involve several steps.  Firstly, what encoding are the html
pages sent as?  If that encoding is not capable of showing the
characters, then obviously they will not be shown.  In general I would
use UTF-8 encoding for all pages, considering the international nature
of the web, this allows for any characters you might want to show.

  Another method is to output all of your text using htmlentities() to
convert characters into their entity form (e.g. &amp; for ampersand,
&aacute; for a with acute accent, etc.)

  You can combine both methods also.

  Further information on this is in the PHP documentation.


Niel

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux