I want to ask you, as a beginner, what basic settings for the document encoding are you doing with UTF-8?
An example how I do it below and am asking about repair if something is wrong. I want to rely on all devices in different browsers with different user settings will render the text as it should, so I will do the following:
- I use Notepad ++ , first in the Format tab choose "change the encoding to UTF-8 (if its already not)";
- Because I use
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
mostly or .<!DOCTYPE html>
, then select the correct attribute for the meta tag in the head, so either<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
, respectively .<meta charset="UTF-8" />
I'm concerned mainly about the Czech characters
Am I right or isn´t it that simple if I expect cooperation between HTML, PHP or JS, maybe MySQL? Thank you for your answers and sorry for incomplete English.