Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 01-10-2007, 07:03 AM   #1 (permalink)
Inactive
 
Join Date: 02-15-06
Posts: 86
iTrader: 0 / 0%
gastongr is liked by many
lang="" and charset for portuguese website

Hello, I'm making a website in Portuguese and I'm trying to find the correct declaration for the charset.
I know for xhtml documents i should use
Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
But i read somewhere that i need to change the charset to ISO-8859-1, which is for Latin languages, including Portuguese.

But i'm not sure as formats are different and i have always used UTF-8
So my question is, should i use this code?

Code:
<!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" lang="pt-BR" xml:lang="pt-BR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Or this one?
Code:
<!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" lang="pt-BR" xml:lang="pt-BR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
Help is really appreciated.
Thanks in advance.
Gaston
gastongr is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 01-10-2007, 07:27 AM   #2 (permalink)
Inactive
 
Join Date: 02-15-06
Posts: 86
iTrader: 0 / 0%
gastongr is liked by many
Also, should i write the codes for special characters such ç, ã, ê or should i just write them as i normally do?
gastongr is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-10-2007, 08:09 AM   #3 (permalink)
Inactive
 
Join Date: 02-15-06
Posts: 86
iTrader: 0 / 0%
gastongr is liked by many
I will use charset=ISO-8859-1, just like this page as i see special characters are displayed fine.
gastongr is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Family-Friendly" or "No Adult Content"? CountryNaturals Web Usability 9 07-22-2008 05:36 PM
<meta http-equiv="Pragma" content="no-cache" /> FGTH SEO Forum 4 06-21-2007 11:29 AM
Is this not "keyword stuffing" "hidden text"? b34nz Google Forum 13 05-22-2007 12:29 PM
Home page with "latest news", "news archive" and "update" tekitouni Web Design Lobby 1 09-19-2006 07:39 PM
"v7ndotcom elursrebmem" already bigger than "Nigritude Ultramarine"! Jim Westergren SEO Forum 31 01-21-2006 12:26 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:49 AM.
© Copyright 2008 V7 Inc