Skip to content

Commit

Permalink
code tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
r12a committed Aug 14, 2020
1 parent 00abc21 commit 807046c
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions questions/qa-what-is-encoding.en.html
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>Character encodings for beginners</title>
<meta name="description" content="What is a character encoding, and why should I care?" />
<script type="application/javascript">
<script>
var f = { }

// AUTHORS should fill in these assignments:
Expand All @@ -20,7 +20,7 @@
f.path = '../' // what you need to prepend to a URL to get to the /International directory

// AUTHORS AND TRANSLATORS should fill in these assignments:
f.thisVersion = { date:'2016-01-20', time:'18:22'} // date and time of latest edits to this document/translation
f.thisVersion = { date:'2020-08-14', time:'12:00'} // date and time of latest edits to this document/translation
f.contributors = ''; // people providing useful contributions or feedback during review or at other times
// also make sure that the lang attribute on the html tag is correct!

Expand All @@ -32,14 +32,13 @@

f.additionalLinks = ''
</script>
<script type="text/javascript" src="qa-what-is-encoding-data/translations.js"> </script>
<script type="text/javascript" src="../javascript/doc-structure/article-dt.js"> </script>
<script type="text/javascript" src="../javascript/boilerplate-text/boilerplate-en.js"> </script> <!--TRANSLATORS must change -en to the subtag for their language! -->
<script type="text/javascript" src="../javascript/doc-structure/article.js"> </script>
<script type="text/javascript" src="../javascript/articletoc-html5.js"></script>
<link rel="stylesheet" href="../style/article-2016.css" type="text/css" />
<script src="qa-what-is-encoding-data/translations.js"> </script>
<script src="../javascript/doc-structure/article-dt.js"> </script>
<script src="../javascript/boilerplate-text/boilerplate-en.js"> </script> <!--TRANSLATORS must change -en to the subtag for their language! -->
<script src="../javascript/doc-structure/article.js"> </script>
<script src="../javascript/articletoc-html5.js"></script>
<link rel="stylesheet" href="../style/article-2016.css" />
<link rel="copyright" href="#copyright"/>
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>

<body>
Expand Down Expand Up @@ -75,7 +74,7 @@ <h3 id="why"><a href="#why"> First, why should I care?</a></h3>
</section>

<section>
<h3 id="what"><a href="#what"> So what's a character encoding?</a></h3>
<h3 id="what"><a href="#what">So what's a character encoding?</a></h3>
<div class="sidenoteGroup">
<p>Words and sentences in text are created from <dfn>characters</dfn>. Examples of characters include the Latin letter <span class="qchar"><a href="qa-what-is-encoding-data/225.png">á</a></span> or the Chinese ideograph <span class="qchar"><a href="qa-what-is-encoding-data/35531.png"></a></span> or the Devanagari character <span class="qchar"><a href="qa-what-is-encoding-data/2361.png"></a></span>. </p>
<aside class="sideinfonote">
Expand All @@ -92,7 +91,7 @@ <h3 id="what"><a href="#what"> So what's a character encoding?</a></h3>
</aside>
</div>

<p>So, when you input text using a keyboard or in some other way, the character encoding maps characters you choose to specific bytes in computer memory, and then to display the text it reads the bytes back into characters. </p>
<p>So, when you input text using a keyboard or in some other way, the character encoding maps characters you choose to specific bytes in computer memory, and then to display the text it reads the bytes back into characters.</p>
<p>Unfortunately, there are many different character sets and character encodings, ie. many different ways of mapping between bytes,
code points and characters. The section <a href="#additionaldetails">Additional information</a> provides a little more detail for those who are interested.</p>
<p>Most of the time, however, you will not need to know the details. You will just need to be sure that you consider the advice in the
Expand Down Expand Up @@ -195,7 +194,7 @@ <h2 id="endlinks"><a href="#endlinks">Further reading</a></h2>
</ul>
</section>

<footer id="thefooter"></footer><script type="text/javascript">document.getElementById('thefooter').innerHTML = g.bottomOfPage</script>
<script type="text/javascript">completePage()</script>
<footer id="thefooter"></footer><script>document.getElementById('thefooter').innerHTML = g.bottomOfPage</script>
<script>completePage()</script>
</body>
</html>

0 comments on commit 807046c

Please sign in to comment.