Usage
Copy your text in Punjabi Gurmukhi Akhar true type font and click Convert to Unicode to get it's equivalent Punjabi Gurmukhi Unicode.
We are splitting the Gurbani Akhar input string into individual characters and then translating these characters to their Unicode entities with the help of below switch case statement and clubbing them back to output the converted string.
switch(character){
case ' ' : ' ';break;
case '[' : '।';break;
case ']' : '॥';break;
case '^' : 'ਖ਼';break;
case 'µ' : 'ੰ';break;
case 'ƒ' : 'ਨ'.'ੂ'.'ੰ';break;
case '`' : 'ੱ';break;
case '0' : '੦';break;
case '1' : '੧';break;
case '2' : '੨';break;
case '3' : '੩';break;
case '4' : '੪';break;
case '5' : '੫';break;
case '6' : '੬';break;
case '7' : '੭';break;
case '8' : '੮';break;
case '9' : '੯';break;
case 'a' : 'ੳ';break;
case 'b' : 'ਬ';break;
case 'c' : 'ਚ';break;
case 'd' : 'ਦ';break;
case 'e' : 'ੲ';break;
case 'f' : 'ਡ';break;
case 'g' : 'ਗ';break;
case 'h' : 'ਹ';break;
case 'i' : 'ਿ';break;
case 'j' : 'ਜ';break;
case 'k' : 'ਕ';break;
case 'l' : 'ਲ';break;
case 'm' : 'ਮ';break;
case 'n' : 'ਨ';break;
case 'o' : 'ੋ';break;
case 'p' : 'ਪ';break;
case 'q' : 'ਤ';break;
case 'r' : 'ਰ';break;
case 's' : 'ਸ';break;
case 't' : 'ਟ';break;
case 'u' : 'ੁ';break;
case 'v' : 'ਵ';break;
case 'w' : 'ਾ';break;
case 'x' : 'ਣ';break;
case 'y' : 'ੇ';break;
case 'z' : 'ਜ਼';break;
case 'A' : 'ਅ';break;
case 'B' : 'ਭ';break;
case 'C' : 'ਛ';break;
case 'D' : 'ਧ';break;
case 'E' : 'ਓ';break;
case 'F' : 'ਢ';break;
case 'G' : 'ਘ';break;
case 'H' : 'ੵ';break;
case 'I' : 'ੀ';break;
case 'J' : 'ਝ';break;
case 'K' : 'ਖ';break;
case 'L' : 'ਲ਼';break;
case 'M' : 'ੰ';break;
case 'N' : 'ਂ';break;
case 'O' : 'ੌ';break;
case 'P' : 'ਫ';break;
case 'Q' : 'ਥ';break;
case 'R' : '੍';break;
case 'S' : 'ਸ਼';break;
case 'T' : 'ਠ';break;
case 'U' : 'ੂ';break;
case 'V' : 'ੜ';break;
case 'W' : 'ਾ'.'ਂ';break;
case 'X' : 'ਯ';break;
case 'Y' : 'ੈ';break;
case 'Z' : 'ਗ਼';break;
}
References [External links]:
Gurmukhi (Punjabi) Unicode Range: 0A00–0A7F
Unicode Entity Codes for the Gurmukhi (Punjabi)
Gurmukhi (Punjabi) Unicode Range: 0A00–0A7F
Gurmukhi Unicode Decimal and Hex Codes from Alan Wood's Unicode Resources
♥ Recommended for You »
- Rone Se Kya Haasil Kuch Ae Dil E Sodaii Ashkon Ki Bhi Barbadi ..
- Tum Paas Aaye Yun Muskuraaye Apne 32 Daant Mujhko Dikhaaye Dekh Kar Mera Dil Phoot Phoot ..
- If It S Zero Degrees Outside Today And It S Supposed To Be ..
- A Man Was Shouting At Me Today And I Was Thinking ..
- Taaiji To Bachcha Kal Brekfast Mein Hum Kya Khaaenge? Bachcha Aaloo Ke ..
- Like Smoke I Vanish Though I Burn Like Flame I Flicker ..
- Jab Rishi Se Mulaaqat Hi Na Hui To Guftgu Kahan Mumkin ..
- Shaam Hote Hi Chiraagon Ko Bujha Deta Hun Yeh Dil Hi ..
- Constant Dropping Wears The Stone ..
- I Don T Drink; It Dulls The Drugs ..
About Us
Our logo expands to iOLdot - Ik Oankaar Lazeez Dimension of Texting which tries to reflect our ideology.
The purpose of this website is to develop a Dimension to Texting through the Aesthetics of Words by providing Unique, Decent, Pleasant, Pure, Gentle, Clean, Refined, Inoffensive Thought Provoking Wisdom Quotes, Funny Jokes, Shayari, Motivational SMS, Greetings, Wishes, Proverbs, Dohe, Love Messages & much more.. We also encourage you to be part of this journey & share your creative content with us. Play your flute here..