I'm using this html header for a skin: <?xml version="1.0" encoding="$Charset"?> <!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" xml:lang="$Lang" lang="$Lang"> <head> <title>The Title</title> <meta http-equiv="content-type" content="application/xhtml; charset=$Charset" /> I was thinking if there is a problem about using the $Charset variable for xhtml meta tag "cotent-type" and the xml tag. Also if it is best to drop the use of "xml:lang" and "lang" for the html tag but I see that PmWiki still uses it in $HTMLDoctypeFmt in version 2.2.0-beta65 but not in pmwiki.tmpl. $HTMLDoctypeFmt = "<!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' xml:lang='en' lang='en'><head>\n"; If by chance anyone knows about it, wich charset is honored by browsers, the one the server sends in the header or the one especified in a html meta tag - the same goes for content type. TIA CarlosAB _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
