Re: [PHP] French characters

2009-10-19 Thread John Black
Don wrote: I use PHP to read data form a mysql 5 table. allow the user to edit the data and then update the table. I am having trouble with French characters. Before the update: Pas de description d�taill�e After the update:Pas de description détaillée It is an encoding problem. My Thund

Re: [PHP] French characters

2009-10-19 Thread Don
on [mailto:d...@program-it.ca] > Sent: Monday, October 19, 2009 4:08 PM > To: php-general@lists.php.net > Subject: Re: [PHP] French characters > > I am using the following code: > /> > > > "Mert Oztekin" wrote in message > news:E2C046087E10D943811A0BD0A4E83

Re: [PHP] French characters

2009-10-19 Thread Don Proshetsky
- Original Message - From: "Phpster" To: "Don" Cc: Sent: Monday, October 19, 2009 9:33 AM Subject: Re: [PHP] French characters On Oct 19, 2009, at 9:29 AM, "Don" wrote: This doesn't not seem to be having an affect as the French characters

Re: [PHP] French characters

2009-10-19 Thread Phpster
e UTF-8 both in your code and database. It is used more commonly. (almost seems to become a encoding standart) -Original Message- From: Don [mailto:d...@program-it.ca] Sent: Monday, October 19, 2009 4:08 PM To: php-general@lists.php.net Subject: Re: [PHP] French characters I am

Re: [PHP] French characters

2009-10-19 Thread Don
monly. (almost seems to become a encoding standart) -Original Message- From: Don [mailto:d...@program-it.ca] Sent: Monday, October 19, 2009 4:08 PM To: php-general@lists.php.net Subject: Re: [PHP] French characters I am using the following code: "Mert Ozteki

Re: [PHP] French characters

2009-10-19 Thread Robert Cummings
Don wrote: I am using the following code: Ther emaybe something else setting the charset though. I find the easiest way to check the actual charset that the browser thinks you are using is to open up firefox and go to: Tools -> Page Info There you will see the charset type that the br

Re: [PHP] French characters

2009-10-19 Thread Don Proshetsky
Thanks. For the database, there are many UTF8 collations. Is this the recommended one? UTF8_unicode-ci? - Original Message - From: Mert Oztekin To: 'Don' ; php-general@lists.php.net Sent: Monday, October 19, 2009 9:13 AM Subject: RE: [PHP] French characters Y

RE: [PHP] French characters

2009-10-19 Thread Mert Oztekin
You may use UTF-8 both in your code and database. It is used more commonly. (almost seems to become a encoding standart) -Original Message- From: Don [mailto:d...@program-it.ca] Sent: Monday, October 19, 2009 4:08 PM To: php-general@lists.php.net Subject: Re: [PHP] French characters I

Re: [PHP] French characters

2009-10-19 Thread Don
I am using the following code: "Mert Oztekin" wrote in message news:e2c046087e10d943811a0bd0a4e8316d1bd2e81...@ankara.anadolusigorta.pvt... What about browsers encoding? And also, does your html code has a header about character-encoding in french -Original Message- From: Don [mailto

RE: [PHP] French characters

2009-10-19 Thread Mert Oztekin
What about browsers encoding? And also, does your html code has a header about character-encoding in french -Original Message- From: Don [mailto:d...@program-it.ca] Sent: Monday, October 19, 2009 3:58 PM To: php-general@lists.php.net Subject: [PHP] French characters Hi, I use PHP to rea

RE: [PHP] FRench characters not displayed correctly

2008-04-24 Thread Angelo Zanetti
-Original Message- From: Ford, Mike [mailto:[EMAIL PROTECTED] Sent: 17 April 2008 12:25 To: php-general@lists.php.net Subject: RE: [PHP] FRench characters not displayed correctly On 17 April 2008 10:05, Robert Cummings advised: > On Thu, 2008-04-17 at 10:57 +0200, Angelo Zanetti wr

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 11:24 +0100, Ford, Mike wrote: > On 17 April 2008 10:05, Robert Cummings advised: > > > On Thu, 2008-04-17 at 10:57 +0200, Angelo Zanetti wrote: > >> > >> Thanks Robert, > >> > >> I have the following headers: > >> > >> > >> http://fr..com/student/themes/english/lock

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Ford, Mike
On 17 April 2008 10:05, Robert Cummings advised: > On Thu, 2008-04-17 at 10:57 +0200, Angelo Zanetti wrote: >> >> Thanks Robert, >> >> I have the following headers: >> >> >> http://fr..com/student/themes/english/locker_room/student.html >> >> GET /student/themes/english/locker_room/studen

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Per Jessen
Robert Cummings wrote: >> > >> > > > header( 'Content-type: text/html; charset=iso-8859-1' ); >> > ?> >> >> I think that is better done with the default_charset setting in >> php.ini. > > I don't. But then I have several projects and some use utf-8 > (preferred) and some use iso-8859-1 (not

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 11:39 +0200, Per Jessen wrote: > Robert Cummings wrote: > > > No, that's what kind of content the server is willing to accept from > > various sources such as POST. You want the following somewhere near > > the beginning of your script: > > > > > header( 'Content-type

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Per Jessen
Robert Cummings wrote: > No, that's what kind of content the server is willing to accept from > various sources such as POST. You want the following somewhere near > the beginning of your script: > > header( 'Content-type: text/html; charset=iso-8859-1' ); > ?> I think that is better done

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Per Jessen
Angelo Zanetti wrote: > Thanks again, but as far as I have read, it seems that UTF-8 has > better handling for French characters? Not really - I'm pretty certain ISO-8859-1 will cover all of the special french characters. But it's irrelevant - if your code/pages are written in UTF8, you won't ge

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 11:11 +0200, Angelo Zanetti wrote: > > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: 17 April 2008 11:05 > To: Angelo Zanetti > Cc: php-general@lists.php.net > Subject: RE: [PHP] FRench characters not displayed

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Angelo Zanetti
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: 17 April 2008 11:05 To: Angelo Zanetti Cc: php-general@lists.php.net Subject: RE: [PHP] FRench characters not displayed correctly On Thu, 2008-04-17 at 10:57 +0200, Angelo Zanetti wrote: > > Thanks

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 10:57 +0200, Angelo Zanetti wrote: > > Thanks Robert, > > I have the following headers: > > > http://fr..com/student/themes/english/locker_room/student.html > > GET /student/themes/english/locker_room/student.html? HTTP/1.1 > Host: fr..com > User-Agent: Mozilla/5

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Angelo Zanetti
-Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: 17 April 2008 10:38 To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] FRench characters not displayed correctly On Thu, 2008-04-17 at 09:47 +0200, Angelo Zanetti wrote: > Hi all. > >

RE: [PHP] French characters not displayed correctly

2008-04-17 Thread Per Jessen
Angelo Zanetti wrote: > I have also found that we can do this: > > > > But I am interested in finding out if the doctype declaration is a > contributing factor. Neither will affect the character set used when rendering the page. The meta http-equiv="Content-Type" in a page is ignored by the

Re: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Robert Cummings
On Thu, 2008-04-17 at 09:47 +0200, Angelo Zanetti wrote: > Hi all. > > We have taken over a site and a problem we have is that French special > characters aren't displaying correctly, they are displaying a weird square > block. > > I have checked the content type and it's as follows: > > > >

RE: [PHP] FRench characters not displayed correctly

2008-04-17 Thread Angelo Zanetti
-Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: 17 April 2008 09:48 To: php-general@lists.php.net Subject: [PHP] FRench characters not displayed correctly Hi all. We have taken over a site and a problem we have is that French special characters aren't displayin