← HTML + CSS

[HTML] Problemas com a acentuação

Lida 7610 vezes

Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

Boas.

Estou a fazer um include de uma página. Mas na página onde aparece esse include, aparece tudo com os acentos desconfigurados.

Qual é o código que faz permitir os acentos? E onde devo colocá-lo..

Já tentei vários codigos em vários sitios e nada melhor do que o +T para tirar a dúvida...

Ty
Offline

Henrique Mouta 
Equipa
Mensagens 1189 Gostos 3
Troféus totais: 31
Trófeus: (Ver todos)
Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>  entre o <head> e o </head>

Ou/E podes alterar o <html> para <html lang="PT-pt">
Offline

goodsound 
Membro
Mensagens 2485 Gostos 0
Troféus totais: 31
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

Código: [Seleccione]
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> </head> <body> Código PHP </body> </html>
Basicamente é o que o Vaurdan já disse, só exemplifiquei.
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

Ah, Ok. Não tava a pôr no Head.


Isso de trocar a Tag do HTML funciona em todos os browsers?
Offline

Henrique Mouta 
Equipa
Mensagens 1189 Gostos 3
Troféus totais: 31
Trófeus: (Ver todos)
Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

No idea :P
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

Mas neste caso não funcionou...
Vou experimentar:

Código: [Seleccione]
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> </head> <body> Código PHP </body> </html>
Basicamente é o que o Vaurdan já disse, só exemplifiquei.
Offline

Thomato 
Membro
Mensagens 4125 Gostos 3
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2

Funcionou  :grin:
Offline

Henrique Mouta 
Equipa
Mensagens 1189 Gostos 3
Troféus totais: 31
Trófeus: (Ver todos)
Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3

Ainda bem :D