List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:January 30 2003 11:33pm
Subject:Re: Character problems
View as plain text  
In the last episode (Jan 30), Maximo Migliari said:
> Note that for the name field,  the characters ç, í, â, are all
> appearing 
> correctly.
> Now when I select this information from PHP and print it as a webpage, this 
> is what I get:
> ?  instead of â,
> ¡  instead of í
> ? instead of ç
> What's up?  I used to do this before without any problems.  I'm assuming 
> this is some character encoding issue - however, I don't know if its in PHP 
> or in MySQL the problem.

Whenver you have non-ASCII characters in a web page, make sure you
specify a character set in the Content-Type header:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Without that, a browser is free to use whatever it wants.
	Dan Nelson
Character problemsMaximo Migliari30 Jan
  • Re: Character problemsDan Nelson31 Jan
  • Re: Character problemsKen Menzel31 Jan