Skip to content

Instantly share code, notes, and snippets.

@rgs
Created October 31, 2019 14:24
Shows all conjunct consonants in devanagari
#!perl
use 5.18.2;
use strict;
use warnings;
use open ':std', ':utf8';
print " | ";
for my $c (0x0915 .. 0x0939) {
print chr($c)." | ";
}
say "";
for my $c1 (0x0915 .. 0x0939) {
print chr($c1)." | ";
for my $c2 (0x0915 .. 0x0939) {
print chr($c1)."\x{094D}".chr($c2)." | ";
}
say '';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment