Can anybody help us? which DOCTYPE should we use in mobile websites which use Unicode characters?
1.)
Code:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Site Name</title> <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" /> ...
2.)
3.)Code:<!DOCTYPE HTML PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> ...
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"> <head> <title>Site Name</title> <meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=UTF-8" /> ...
If we missed anything, pls let us know.
and pls add this:
a) it is mandatory use of "UTF" is in upper case?
b) Which meta tag is best?
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
or
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=UTF-8" />
thanks in advance









Bookmarks