<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vanisource.org/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AUnify.js</id>
	<title>MediaWiki:Unify.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vanisource.org/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AUnify.js"/>
	<link rel="alternate" type="text/html" href="https://vanisource.org/w/index.php?title=MediaWiki:Unify.js&amp;action=history"/>
	<updated>2026-08-07T22:56:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://vanisource.org/w/index.php?title=MediaWiki:Unify.js&amp;diff=60004&amp;oldid=prev</id>
		<title>Eivind: New page: // Unify - formats Balaram fonts to Unicode   function Unify() {   obj = document.editform.wpTextbox1.value;   obj_array = obj.split(&#039;\n&#039;);   re = /[äéüåèìïöòëçàùÿûÄÉÜÅ...</title>
		<link rel="alternate" type="text/html" href="https://vanisource.org/w/index.php?title=MediaWiki:Unify.js&amp;diff=60004&amp;oldid=prev"/>
		<updated>2008-03-16T10:46:28Z</updated>

		<summary type="html">&lt;p&gt;New page: // Unify - formats Balaram fonts to Unicode   function Unify() {   obj = document.editform.wpTextbox1.value;   obj_array = obj.split(&amp;#039;\n&amp;#039;);   re = /[äéüåèìïöòëçàùÿûÄÉÜÅ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;// Unify - formats Balaram fonts to Unicode&lt;br /&gt;
 &lt;br /&gt;
function Unify() {&lt;br /&gt;
  obj = document.editform.wpTextbox1.value;&lt;br /&gt;
  obj_array = obj.split(&amp;#039;\n&amp;#039;);&lt;br /&gt;
  re = /[äéüåèìïöòëçàùÿûÄÉÜÅÈÌÑÏÖÒËÇÀÙß]/g; &lt;br /&gt;
 &lt;br /&gt;
  for ($i = 0; $i &amp;lt; obj_array.length; $i++) {&lt;br /&gt;
 &lt;br /&gt;
    if (re.test (obj_array[$i])) { &lt;br /&gt;
 &lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ä/g, &amp;quot;ā&amp;quot;); // long a&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/é/g, &amp;quot;ī&amp;quot;); // long i&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ü/g, &amp;quot;ū&amp;quot;); // long u&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/å/g, &amp;quot;ṛ&amp;quot;); // r cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/è/g, &amp;quot;ṟ&amp;quot;); // long r cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ì/g, &amp;quot;ṅ&amp;quot;); // n dot over&lt;br /&gt;
 &lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ñ/g, &amp;quot;ṣ&amp;quot;); // s cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ï/g, &amp;quot;ñ&amp;quot;); // n tilde&lt;br /&gt;
 &lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ö/g, &amp;quot;ṭ&amp;quot;); // t cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ò/g, &amp;quot;ḍ&amp;quot;); // d cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ë/g, &amp;quot;ṇ&amp;quot;); // n cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ç/g, &amp;quot;ś&amp;quot;); // s accent&lt;br /&gt;
 &lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/à/g, &amp;quot;ṁ&amp;quot;); // m dot over (anusvara)&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ù/g, &amp;quot;ḥ&amp;quot;); // h cedilla (visarga)&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ÿ/g, &amp;quot;ḷ&amp;quot;); // l cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/û/g, &amp;quot;ḻ&amp;quot;); // long l cedilla&lt;br /&gt;
 &lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ä/g, &amp;quot;Ā&amp;quot;); // long a&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/É/g, &amp;quot;Ī&amp;quot;); // long i&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ü/g, &amp;quot;Ū&amp;quot;); // long u&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Å/g, &amp;quot;Ṛ&amp;quot;); // r cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/È/g, &amp;quot;Ṟ&amp;quot;); // long r cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ì/g, &amp;quot;&amp;amp;#7748;&amp;quot;); // n dot over&lt;br /&gt;
 &lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ñ/g, &amp;quot;Ṣ&amp;quot;); // s cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ï/g, &amp;quot;Ñ&amp;quot;); // n tilde&lt;br /&gt;
 &lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ö/g, &amp;quot;Ṭ&amp;quot;); // t cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ò/g, &amp;quot;Ḍ&amp;quot;); // d cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ë/g, &amp;quot;Ṇ&amp;quot;); // n cedilla&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ç/g, &amp;quot;Ś&amp;quot;); // s accent&lt;br /&gt;
 &lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/À/g, &amp;quot;Ṁ&amp;quot;); // m dot over (anusvara)&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/Ù/g, &amp;quot;Ḥ&amp;quot;); // h cedilla (visarga)&lt;br /&gt;
      obj_array[$i] = obj_array[$i].replace (/ß/g, &amp;quot;Ḷ&amp;quot;); // l cedilla &lt;br /&gt;
 &lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
  }&lt;br /&gt;
 &lt;br /&gt;
  obj = obj_array.join(&amp;#039;\n&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
  // keep the changed text selected, needed to remove the formatting with a second click&lt;br /&gt;
  //obj.changed.keepSel = true;&lt;br /&gt;
  document.editform.wpTextbox1.value = obj;&lt;br /&gt;
  return;&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
// end Unify&lt;/div&gt;</summary>
		<author><name>Eivind</name></author>
	</entry>
</feed>