Friday, November 16, 2012

Answers > What Character Encoding Should Be Used for a Website Written in Xhtml 1.0 Which Is to Be Multilingual?

What Character Encoding Should Be Used for a Website Written in Xhtml 1.0 Which Is to Be Multilingual?

by nForms on June 15, 2012

I've read I should use utf-8, is this correct?
@softwareDev: declaring the char encoding in the meta tag will only serve the page as html and not xhtml shouldn't it be declared in the xml declaration?: <?xml version="1.0" encoding="utf-8"?>

Tags: , , , , , ,

Similar XForms | XML Posts

{ 1 comment… read it below or add one }

softwareDev August 28, 2011 at 9:35 am

yes that’s true

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
<html xmlns="http://www.w3.org/1999/xhtml"&gt;
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Previous post:

Next post: