Caracteres espeçiais ( Ç, Ã )
Bom dia pessoal, tudo bem com vocês? Espero que sim
Estou com um pequeno problema que é o seguinte, eu tenho cadastrado no banco de dados uma tabela chamada categoria com um campo chamado categoria, nesse campo tenho 2 cadastros ' Programação e Banco de Dados ', só que ao mostrar no navegador aparece 2 quadrados no lugar de Ç e Ã. Segue o código da página e uma print do problema.
Agradeço as sugestões. Abraços e até mais
Detalhes adicionais: Quando eu seleciono a guia Design no Dreamweaver e digito algo lá ele não converte automaticamente os caracteres especiais. Ex: Se eu digito André no código fonte aparece André, o que no certo seria aparecer André
/applications/core/interface/imageproxy/imageproxy.php?img=http://img72.imageshack.us/img72/5596/caracteres.jpg&key=dac59660c75d2a664796179692f90e71f1bc95348023dd34a98a23193b17517a" alt="Imagem Postada" />
lst_categoria.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[http://www.w3.org/1999/xhtml">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sem título</title>
<link rel="stylesheet" href="css/admin.css" type="text/css" />
</head>
<body>
<div class="conteudo">
<?php include "conexao.php"; ?>
<table class="lst_cat" width="614" align="center" cellpadding="0" cellspacing="0">
<tr>
<th colspan="4" scope="col" style="border-bottom:dashed 1px #F90; padding-bottom: 5px;">Lista de Categorias</th>
</tr>
<tr>
<td width="30">Cód</td>
<td width="508" style="border-left:solid 1px #333;">Categoria</td>
<td colspan="2" align="center" valign="middle">Ação</td>
</tr>
<?php
$sql = "SELECT * FROM categoria";
$qry = mysql_query($sql);
while ($linha = mysql_fetch_array($qry)){
?>
<tr>
<td width="30" style="border-left:solid 1px #333;"><?php echo $linha[id_categoria]; ?></td>
<td style="border-left:solid 1px #333;"><?php echo $linha[categoria]; ?></td>
<td width="30" align="center" valign="middle" style="border-left:solid 1px #333;"><img src="imagens/alterar.gif" width="16" height="16" longdesc="Alterar" /></td>
<td width="30" align="center" valign="middle" style="border-left:solid 1px #333; border-right:solid 1px #333;"><img src="imagens/excluir.gif" width="16" height="16" longdesc="Excluir" /></td>
<?php } ?>
</tr>
</table>
<div style="float:right; margin-right:8px; padding:3px;"><img src="imagens/inserir.gif" width="55" height="16" longdesc="Inserir" /></div>
</div><!--conteudo-->
</body>
</html>Discussão (8)
Carregando comentários...