<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Indic | Vishva Kannada</title>
	<atom:link href="https://vishvakannada.com/tag/indic/feed/" rel="self" type="application/rss+xml" />
	<link>https://vishvakannada.com</link>
	<description></description>
	<lastBuildDate>Wed, 19 Oct 2016 18:24:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.8</generator>
	<item>
		<title>UTF-8, Indic and stub article length in Wikipedia</title>
		<link>https://vishvakannada.com/english/utf-8-indic-stub-length-wikipedia/</link>
					<comments>https://vishvakannada.com/english/utf-8-indic-stub-length-wikipedia/#comments</comments>
		
		<dc:creator><![CDATA[pavanaja]]></dc:creator>
		<pubDate>Wed, 19 Oct 2016 18:24:06 +0000</pubDate>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Tech related]]></category>
		<category><![CDATA[Indic]]></category>
		<category><![CDATA[Unicode]]></category>
		<category><![CDATA[Wikipedia]]></category>
		<category><![CDATA[utf-8]]></category>
		<guid isPermaLink="false">http://pavanaja.com/?p=2041</guid>

					<description><![CDATA[<p>One of the activities conducted as part of Wiki Conference India 2016 was the Punjab Editathon. It was about adding articles related to Punjab to&#8230;</p>
<p>The post <a href="https://vishvakannada.com/english/utf-8-indic-stub-length-wikipedia/">UTF-8, Indic and stub article length in Wikipedia</a> first appeared on <a href="https://vishvakannada.com">Vishva Kannada</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>One of the activities conducted as part of Wiki Conference India 2016 was the Punjab Editathon. It was about adding articles related to Punjab to Indian language Wikipedias and English Wikipedia. There was also an announcement made about some award for highest contribution.  This lead to continued discussions in a closed chat group on how do we decide the winner. People thought it is very simple to announce the winner just based on highest number of bytes added. On first look, it looked very trivial and a simple case. I pointed out during the discussions about the encoding used in Wikipedia is UTF-8 and it uses different number of bytes for English and Indian languages. Before giving more details I would like to draw your attention to a simple experiment.</p>
<p>I typed Kannada letter ಅ (a) in my Sandbox in Kannada Wikipedia and saved it. Then I checked the RecentChanges page in Kannada Wikipedia. That showed that I have added 3 bytes to my Sandbox page. But I had added just one Kannada character.  I did the same experiment in English Wikipedia. I just added one letter, the English letter “A” to my Sandbox in English Wikipedia and checked the number of bytes added. It showed just one byte.</p>
<table style="height: 194px; width: 452px;">
<tbody>
<tr>
<td style="width: 222px;"><a href="http://pavanaja.com/wp-content/uploads/2016/10/WhatsApp-Image-2016-10-19-at-11.20.09-PM.jpeg"><img decoding="async" class="wp-image-2053 alignleft" src="http://pavanaja.com/wp-content/uploads/2016/10/WhatsApp-Image-2016-10-19-at-11.20.09-PM-300x136.jpeg" alt="whatsapp-image-2016-10-19-at-11-20-09-pm" width="200" height="91" /></a></td>
<td style="width: 216px;"><a href="http://pavanaja.com/wp-content/uploads/2016/10/WhatsApp-Image-2016-10-19-at-11.20.14-PM.jpeg"><img decoding="async" class="wp-image-2052 alignleft" src="http://pavanaja.com/wp-content/uploads/2016/10/WhatsApp-Image-2016-10-19-at-11.20.14-PM-300x153.jpeg" alt="whatsapp-image-2016-10-19-at-11-20-14-pm" width="200" height="102" /></a></td>
</tr>
<tr>
<td style="width: 222px;"><a href="http://pavanaja.com/wp-content/uploads/2016/10/English-A.jpg"><img decoding="async" class=" wp-image-2056 alignleft" src="http://pavanaja.com/wp-content/uploads/2016/10/English-A-300x181.jpg" alt="english-a" width="201" height="121" /></a></td>
<td style="width: 216px;"><a href="http://pavanaja.com/wp-content/uploads/2016/10/English-1-byte.jpg"><img decoding="async" loading="lazy" class=" wp-image-2055 alignleft" src="http://pavanaja.com/wp-content/uploads/2016/10/English-1-byte-300x190.jpg" alt="english-1-byte" width="201" height="127" /></a></td>
</tr>
</tbody>
</table>
<p>What is going on? Here is the explanation.  There are different ways Unicode text can be stored. UTF-8, UTF-16 and UTF-32 are the prominent ways. UTF-16 uses 2 bytes for all characters. UTF-32 uses 4 bytes. UTF-8 is a special kind of encoding. It uses series of single bytes to represent Unicode data. The first character, called Byte Order Mark (BOM) indicates what encoding is being used. Unicode website has more details on these. UTF-8 was mainly used for web as the networking devices used on the initial days of Unicode could handle only 8 bits (1 byte) of data. In other words, UTF-8 was used for backward compatibility with ASCII, the original 8-bit encoding used prior to the advent of Unicode.  Even today the default encoding used by HTML is UTF-8.</p>
<p>&nbsp;</p>
<p>Does these answer our original question? Not yet. I said UTF-8 uses series of single bytes. It uses 1 byte for English, 2 bytes for European languages and 3 bytes for Indian languages. That is the reason why we saw 3 bytes for one Kannada character.</p>
<p>&nbsp;</p>
<p>This pops up another interesting question regarding the definition of a stub article in Wikipedia.  As per Wikipedia, an article which has less than 2048 bytes is considered as a stub article.  Go to any language Wikipedia’s search page and type Special:ShortPages to get the list of all articles which are having less than 2048 bytes. If we convert this into number of characters it turns out to be 2048 for English but about 682 for Indic. That means the length of a stub article will be different for English and Indian language Wikipedias. Should we have a different yardstick for the definition of a stub article for Indian language Wikipedias then? I think yes.</p>
<p>&nbsp;</p><p>The post <a href="https://vishvakannada.com/english/utf-8-indic-stub-length-wikipedia/">UTF-8, Indic and stub article length in Wikipedia</a> first appeared on <a href="https://vishvakannada.com">Vishva Kannada</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://vishvakannada.com/english/utf-8-indic-stub-length-wikipedia/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: vishvakannada.com @ 2026-07-13 11:47:33 by W3 Total Cache
-->