character encoding - ASP.NET and diacritics -
I intend to create ASP.NET pages using Visual Studio 2008. Preferably, pages must be completely consistent with the XHTML standard. How should I include the DirectX in page content (no need to use the directory in the URL)? Should I use character references (with "& amp;"), or just make them keyboard by writing them straight away?
Thank you.
You must ensure that the correct character set encoding page for it, usually the most in UTF-8 The more western characters and the UTF-16 are used for double-byte characters which use languages.
In the HEAD element of the page, you will need some form of the following tags;
& lt; Meta http-equiv = "content-type" content = "text / html; charset = UTF-8" /> You must also ensure that you have the correct DOCTYPE specified;
& lt ;! DOCTYPE html public "- // W3C // DTD XHTML 1.0 Transitional // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> This is well covered by
Comments
Post a Comment