ବ୍ୟବହାରକାରୀ:Ramjit Tudu/ପରଖଘର/ଟେଷ୍ଟ୍୨
<script> function check_input() {
if (document.getElementById('input_text').value == "") { alert("ᱚᱦ...ᱠᱚᱯᱤ ᱞᱟᱹᱜᱤᱫ ᱚᱞ ᱵᱟᱹᱱᱩᱜᱼᱟ ᱾ ᱞᱮᱸᱜᱟ ᱥᱟᱦᱟ ᱨᱮᱱᱟᱜ ᱵᱟᱠᱥᱟ ᱨᱮ ᱚᱞ ᱯᱮᱥᱴ ᱢᱮ ᱾"); return false; }
} </script> <script> function non_to_uni() {
check_input(); var array_one = new Array(
"য়াঃ","ᱭᱟ", "ঁ","ᱸ", "ং","ᱝ", "ঃ","ᱜ", "ৗ","ᱹ",
"ড়","ᱲᱚ", "ৎ ","ᱫ ",
"্য","ᱡᱚ", "ক্ষ"," ᱠᱠᱷ", "জ্ঞ","ᱜᱽᱜᱚ",
"ক্","ᱠ", "খ্","ᱠᱷ", "গ্","ᱜᱽ", "ঘ্","ᱜᱷ", "ঙ্","ᱶ", "চ্","ᱪ", "ছ্","ᱪᱷ", "জ্","ᱡᱽ", "ঝ্","ᱡᱷ", "ঞ্","ᱧ", "ট্","ᱴ", "ঠ্","ᱴᱷ", "ড্","ᱰ", "ঢ্","ᱰᱷ", "ণ্","ᱱ", "ত্","ᱛ", "থ্","ᱛᱷ", "দ্","ᱫᱽ", "ধ্","ᱫᱷ", "ন্","ᱱ", "প্","ᱯ", "ফ্","ᱯᱷ", "ব্","ᱵᱽ", "ভ্","ᱵᱷ", "ম্","ᱢ", "য্","ᱡᱽ", "র্","ᱨ", "ল্","ᱞ", "শ্","ᱥ", "ষ্","ᱥ", "স্","ᱥ", "হ্","ᱦ", "ড়্","ᱲ", "ঢ়্","ᱲᱷ", "য়্","ᱭ", "ৎ","ᱛ",
"য়া","ᱭᱟ", "য়ি","ᱭᱤ", "য়ী","ᱭᱤ", "য়ু","ᱭᱩ", "য়ূ","ᱭᱩ", "য়ে","ᱭᱮ", "য়ৈ","ᱭᱳᱭ", "য়ো","ᱭᱳ", "য়ৌ","ᱭᱳᱣ","য়","ᱭᱚ",
"ড়া","ᱲᱟ", "ড়ি","ᱲᱤ", "ড়ী","ᱲᱤ", "ড়ু","ᱲᱩ", "ড়ূ","ᱲᱩ", "ড়ে","ᱲᱮ", "ড়ৈ","ᱲᱳᱭ", "ড়ো","ᱲᱳ", "ড়ৌ","ᱲᱳᱣ",
"ঢ়া","ᱲᱷᱟ", "ঢ়ি","ᱲᱷᱤ", "ঢ়ী","ᱲᱷᱤ", "ঢ়ু","ᱲᱷᱩ", "ঢ়ূ","ᱲᱷᱩ", "ঢ়ে","ᱲᱷᱮ", "ঢ়ৈ","ᱲᱷᱳᱭ", "ঢ়ো","ᱲᱷᱳ", "ঢ়ৌ","ᱲᱷᱳᱣ","ঢ়","ᱲᱷᱚ",
"কা","ᱠᱟ", "কি","ᱠᱩ", "কী","ᱡᱤ", "কু","ᱠᱩ", "কূ","ᱠᱩ", "কে","ᱠᱮ", "কৈ","ᱠᱳᱭ", "কো","ᱠᱳ", "কৌ","ᱠᱳᱣ","ক"," ᱠᱚ",
"খা","ᱠᱷᱟ", "খি","ᱠᱷᱤ", "খী","ᱠᱷᱤ", "খু","ᱠᱷᱩ", "খূ","ᱠᱷᱩ", "খে","ᱠᱷᱮ", "খৈ","ᱠᱷᱳᱭ", "খো","ᱠᱷᱳ", "খৌ","ᱠᱷᱳᱣ","খ","ᱠᱷᱚ",
"গা","ᱜᱟ", "গি","ᱜᱤ", "গী","ᱜᱤ", "গু","ᱜᱩ ", "গূ","ᱜᱩ", "গে","ᱜᱮ", "গৈ","ᱜᱳᱭ", "গো","ᱜᱳ", "গৌ","ᱜᱳᱣ", "গ","ᱜᱚ",
"ঘা","ᱜᱷᱟ", "ঘি","ᱜᱷᱤ", "ঘী","ᱜᱷᱤ", "ঘু","ᱜᱷᱩ", "ঘূ","ᱜᱷᱩ", "ঘে","ᱜᱷᱮ", "ঘৈ","ᱜᱷᱳᱭ", "ঘো","ᱜᱷᱳ", "ঘৌ","ᱜᱷᱳᱣ", "ঘ","ᱜᱷᱚ",
"চা","ᱪᱟ", "চি","ᱪᱤ", "চী","ᱪᱤ", "চু","ᱪᱩ", "চূ","ᱪᱩ", "চে","ᱪᱮ", "চৈ","ᱪᱳᱭ", "চো","ᱪᱳ", "চৌ","ᱪᱳᱣ", "চ ","ᱪᱚ",
"ছা"," ᱪᱷᱟ", "ছি","ᱪᱷᱤ", "ছী","ᱪᱷᱤ", "ছু","ᱪᱷᱩ", "ছূ","ᱪᱷᱩ", "ছে","ᱪᱷᱮ", "ছৈ","ᱪᱷᱳᱭ", "ছো","ᱪᱷᱳ", "ছৌ","ᱪᱷᱳᱣ", "ছ","ᱪᱷᱚ",
"জা","ᱡᱟ", "জি","ᱡᱤ", "জী","ᱡᱤ", "জু","ᱡᱩ", "জূ","ᱡᱩ", "জে","ᱡᱮ", "জৈ","ᱡᱳᱭ", "জো","ᱡᱳ", "জৌ","ᱡᱳᱣ", "জ","ᱡᱚ",
"ঝা","ᱡᱷᱟ", "ঝি","ᱡᱷᱤ", "ঝী","ᱡᱷᱤ", "ঝু","ᱡᱷᱩ", "ঝূ","ᱡᱷᱩ", "ঝে","ᱡᱷᱮ", "ঝৈ","ᱡᱷᱳᱭ", "ঝো","ᱡᱷᱳ", "ঝৌ","ᱡᱷᱳᱣ", "ঝ","ᱡᱷᱚ",
"টা","ᱴᱟ", "টি","ᱴᱤ", "টী","ᱴᱤ", "টু","ᱴᱩ", "টূ","ᱴᱩ", "টে","ᱴᱮ", "টৈ","ᱴᱳᱭ", "টো","ᱴᱳ", "টৌ","ᱴᱳᱣ","ট","ᱴᱚ",
"ঠা","ᱴᱷᱟ", "ঠি","ᱴᱷᱤ", "ঠী","ᱴᱷᱤ", "ঠু","ᱴᱷᱩ", "ঠূ","ᱴᱷᱩ", "ঠে","ᱴᱷᱮ", "ঠৈ","ᱴᱷᱳᱭ", "ঠো","ᱴᱷᱳ", "ঠৌ","ᱴᱷᱳᱣ", "ঠ"," ᱴᱷᱚ",
"ডা","ᱰᱟ", "ডি","ᱰᱤ", "ডী","ᱰᱩ", "ডু","ᱰᱩ", "ডূ","ᱰᱩ", "ডে","ᱰᱮ", "ডৈ","ᱰᱳᱭ", "ডো","ᱰᱳ", "ডৌ","ᱰᱳᱣ","ড","ᱰᱚ",
"ঢা","ᱰᱷᱟ", "ঢি","ᱰᱷᱤ", "ঢী","ᱰᱷᱤ", "ঢু","ᱰᱷᱩ", "ঢূ","ᱰᱷᱩ", "ঢে","ᱰᱷᱮ", "ঢৈ","ᱰᱷᱳᱭ", "ঢো","ᱰᱷᱳ", "ঢৌ","ᱰᱷᱳᱣ","ঢ","ᱰᱷᱚ",
"ণা","ᱱᱟ", "ণি","ᱱᱤ", "ণী","ᱱᱤ", "ণু","ᱱᱩ", "ণূ","ᱱᱩ", "ণে","ᱱᱮ", "ণৈ","ᱱᱳᱭ", "ণো","ᱱᱳ", "ণৌ","ᱱᱳᱣ", "ণ","ᱱᱚ",
"তা","ᱛᱟ", "তি","ᱛᱤ", "তী","ᱛᱤ", "তু","ᱛᱩ", "তূ","ᱛᱩ", "তে","ᱛᱮ", "তৈ","ᱛᱳᱭ", "তো","ᱛᱳ", "তৌ","ᱛᱳᱣ","ত","ᱛᱚ",
"থা","ᱛᱷᱟ", "থি","ᱛᱷᱤ", "থী","ᱛᱷᱤ", "থু","ᱛᱷᱩ", "থূ","ᱛᱷᱩ", "থে","ᱛᱷᱮ", "থৈ","ᱛᱷᱳᱭ", "থো","ᱛᱷᱳ", "থৌ","ᱛᱷᱳᱣ","থ","ᱛᱷᱚ",
"দা","ᱫᱟ", "দি","ᱫᱤ", "দী","ᱫᱤ", "দু","ᱫᱩ", "দূ","ᱫᱩ", "দে","ᱫᱮ", "দৈ","ᱫᱳᱭ", "দো","ᱫᱳ", "দৌ","ᱫᱳᱣ", "দ","ᱫᱚ",
"ধা","ᱫᱷᱟ", "ধি","ᱫᱷᱤ", "ধী","ᱫᱷᱤ", "ধু","ᱫᱷᱩ", "ধূ","ᱫᱷᱩ", "ধে","ᱫᱷᱮ", "ধৈ","ᱫᱷᱳᱭ", "ধো","ᱫᱷᱳ", "ধৌ","ᱫᱷᱳᱣ","ধ","ᱫᱷᱚ",
"না","ᱱᱟ", "নি","ᱱᱤ", "নী","ᱱᱤ", "নু","ᱱᱩ", "নূ","ᱱᱩ", "নে","ᱱᱮ", "নৈ","ᱱᱳᱭ", "নো","ᱱᱳ", "নৌ","ᱱᱳᱣ","ন","ᱱᱚ",
"পা","ᱯᱟ", "পি","ᱯᱤ", "পী","ᱯᱤ", "পু","ᱯᱩ", "পূ","ᱯᱩ", "পে","ᱯᱮ", "পৈ","ᱯᱳᱭ", "পো","ᱯᱳ", "পৌ","ᱯᱳᱣ","প","ᱯᱚ",
"ফা","ᱯᱷᱟ", "ফি","ᱯᱷᱤ", "ফী","ᱯᱷᱤ", "ফু","ᱯᱷᱩ", "ফূ","ᱯᱷᱩ", "ফে","ᱯᱷᱮ", "ফৈ","ᱯᱷᱳᱭ", "ফো","ᱯᱷᱳ", "ফৌ","ᱯᱷᱳᱣ","ফ"," ᱯᱷᱚ",
"বা","ᱵᱟ", "বি","ᱵᱤ", "বী","ᱵᱤ", "বু","ᱵᱩ", "বূ","ᱵᱩ", "বে","ᱵᱮ", "বৈ","ᱵᱳᱭ", "বো","ᱵᱳ", "বৌ","ᱵᱳᱣ","ব"," ᱵᱚ",
"ভা","ᱵᱷᱟ", "ভি","ᱵᱷᱤ", "ভী","ᱵᱷᱤ", "ভু","ᱵᱷᱩ", "ভূ","ᱵᱷᱩ", "ভে","ᱵᱷᱮ", "ভৈ","ᱵᱷᱳᱭ", "ভো","ᱵᱷᱳ", "ভৌ","ᱵᱷᱳᱣ","ভ","ᱵᱷᱚ",
"মা","ᱢᱟ", "মি","ᱢᱤ", "মী","ᱢᱤ", "মু","ᱢᱩ", "মূ","ᱢᱩ", "মে","ᱢᱮ", "মৈ","ᱢᱳᱭ", "মো","ᱢᱳ", "মৌ","ᱢᱳᱣ","ম","ᱢᱚ",
"যা","ᱡᱟ", "যি","ᱡᱤ", "যী","ᱡᱤ", "যু","ᱡᱩ", "যূ","ᱡᱩ", "যে","ᱡᱮ", "যৈ","ᱡᱳᱭ", "যো","ᱡᱳ", "যৌ","ᱡᱳᱣ","য","ᱡᱚ",
"রা","ᱨᱟ", "রি","ᱨᱤ", "রী","ᱨᱤ", "রু","ᱨᱩ", "রূ","ᱨᱩ", "রে","ᱨᱮ", "রৈ","ᱨᱳᱭ", "রো","ᱨᱳ", "রৌ","ᱨᱳᱣ","র","ᱨᱚ",
"লা","ᱞᱟ", "লি","ᱞᱤ", "লী","ᱞᱤ", "লু","ᱞᱩ", "লূ","ᱞᱩ", "লে","ᱞᱮ", "লৈ","ᱞᱳᱭ", "লো","ᱞᱳ", "লৌ","ᱞᱳᱣ","ল","ᱞᱚ",
"শা","ᱥᱟ", "শি","ᱥᱤ", "শী","ᱥᱤ", "শু","ᱥᱩ", "শূ","ᱥᱩ", "শে","ᱥᱮ", "শৈ","ᱥᱳᱭ", "শো","ᱥᱳ", "শৌ","ᱥᱳᱣ","শ","ᱥᱚ",
"ষা","ᱥᱟ", "ষি","ᱥᱤ", "ষী","ᱥᱤ", "ষু","ᱥᱩ", "ষূ","ᱥᱩ", "ষে","ᱥᱮ", "ষৈ","ᱥᱳᱭ", "ষো","ᱥᱳ", "ষৌ","ᱥᱳᱣ","ষ","ᱥᱚ",
"সা","ᱥᱟ", "সি","ᱥᱤ", "সী","ᱥᱤ", "সু","ᱥᱩ", "সূ","ᱥᱩ", "সে","ᱥᱮ", "সৈ","ᱥᱳᱭ", "সো","ᱥᱳ", "সৌ","ᱥᱳᱣ","স","ᱥᱚ",
"হা","ᱦᱟ", "হি","ᱦᱤ", "হী","ᱦᱤ", "হু","ᱦᱩ", "হূ","ᱦᱩ", "হে","ᱦᱮ", "হৈ","ᱦᱳᱭ", "হো","ᱦᱳ", "হৌ","ᱦᱳᱣ","হ","ᱦᱚ",
"ি","ᱤ", "ী","ᱤ", "ু","ᱩ", "ূূ","ᱩ", "ে","ᱮ", "ৈ","ᱭ", "ো","ᱳ", "ৌ","ᱣ",
"অ","ᱚ", "আ","ᱟ", "ই","ᱤ", "ঈ","ᱤ", "উ","ᱩ", "ঊ","ᱩ", "এ","ᱮ", "ঐ","ᱭ", "ও","ᱳ", "ঔ","ᱣ",
"০","᱐", "১","᱑", "২","᱒", "৩","᱓", "৪","᱔", "৫","᱕", "৬","᱖", "৭","᱗", "৮","᱘", "৯","᱙" )
var array_one_length = array_one.length ; var modified_substring = $("#input_text").val(); var text_size = modified_substring.length ; var processed_text = "" ; var position1 = 0 ; var position2 = 0 ; var process_queue = 1 ; var chunk_size = 6000; while ( process_queue == 1 ) { position1 = position2 ; if ( position2 < ( text_size - chunk_size ) ) { position2 += chunk_size ; while (document.getElementById("input_text").value.charAt ( position2 ) != ' ') {position2--;} } else { position2 = text_size ; process_queue = 0 } var modified_substring = document.getElementById("input_text").value.substring ( position1, position2 ) ; Replace_Symbols( ) ; var processed_text = processed_text + modified_substring ; $("#unicode_text").val("Conversion in progress.." + '\n\n' + 'Conversion of ' + position2 + ' charecters out of ' + text_size + ' completed.'); } $("#unicode_text").val(processed_text); function Replace_Symbols( ) { if ( modified_substring != "" ) { for ( input_symbol_idx = 0; input_symbol_idx < array_one_length-1; input_symbol_idx = input_symbol_idx + 2 ) { idx = 0 ; while (idx != -1 ) { modified_substring = modified_substring.replace( array_one[ input_symbol_idx ] , array_one[input_symbol_idx+1] ); idx = modified_substring.indexOf( array_one[input_symbol_idx] ); } } } }
} </script> <script> function select_and_copy() {
if (document.getElementById('unicode_text').value == "") { alert('ᱚᱦ...ᱠᱚᱯᱤ ᱞᱟᱹᱜᱤᱫ ᱚᱞ ᱵᱟᱹᱱᱩᱜᱼᱟ ᱾ ᱞᱮᱸᱜᱟ ᱥᱟᱦᱟ ᱨᱮᱱᱟᱜ ᱵᱟᱠᱥᱟ ᱨᱮ ᱯᱮᱥᱴ ᱠᱟᱛᱮ ᱪᱮᱛᱟᱱ ᱨᱮᱱᱟᱜ ᱵᱩᱛᱟᱹᱢ ᱚᱛᱟᱭ ᱢᱮ ᱾') } else { document.getElementById('unicode_text').select(); document.execCommand('copy'); document.getElementById('unicode_text_button').value = "ᱠᱚᱯᱤ ᱭᱮᱱᱟ"; setTimeout(function(){ document.getElementById('unicode_text_button').value = "ᱡᱚᱛᱚ ᱵᱟᱪᱷᱟᱣ ᱠᱟᱛᱮ ᱠᱚᱯᱤ ᱞᱟᱹᱜᱤᱫ ᱞᱤᱱ ᱢᱮ"; }, 2000); }
} </script> <style type="text/css"> .input {height: 500px;width: 49.5%; border: 1px solid #ccc;margin-top: 15px; align:left;box-sizing: border-box;} input.bigbutton {margin-top: 10px; background: #3E9CFF; padding: 8px 14px 10px; border:1px solid #3e9cbf; cursor:pointer; font-size:1.0em;font-family:Oswald, sans-serif; letter-spacing:.1em;text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.3); color: #fff; -webkit-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;-moz-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999; box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;-moz-border-radius: 5px;-webkit-border-radius: 10px;border-radius: 2px;} input.bigbutton:hover, input.bigbutton:focus { color:#dfe7ea;-webkit-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;-moz-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;} #olchiki{width: 49.5%;}#unicode_text_button {49.5% !important;float:right;} </style> <input class="bigbutton" title="ᱱᱚᱸᱰᱮ ᱚᱛᱟᱭ ᱢᱮ ᱵᱚᱫᱚᱞ ᱞᱟᱹᱜᱤᱫ" onclick="non_to_uni()" type="submit" id="olchiki" value="ᱵᱚᱫᱚᱞ (Conv)" />
<input title="To copy all by selecting click here" onclick="select_and_copy()" class="bigbutton" type="submit" value="ᱠᱚᱯᱤ (Copy)" id="unicode_text_button" style="width:49.5%;"/> <textarea class="input" placeholder="Paste here and click ᱵᱚᱫᱚᱞ (Conv) Button" id="input_text" style="float:left"></textarea> <textarea class="input" placeholder="ᱤᱣᱱᱤᱠᱚᱰ ᱚᱞ" id="unicode_text" style="float:right"></textarea>