Part Eleven - "Unicode Compliance"
Unicode compliance is a number that varies.
To check Unicode compliance:
(- unicodecompset(); -);
Include (-
[ UnicodeCompSet;
(+ unicode compliance +) = glk_gestalt(gestalt_Unicode,0);
];
-)
em dash translates into Unicode as 8212.
latin small letter u with diaeresis translates into Unicode as 252.
latin small letter e with acute translates into Unicode as 233.
latin capital letter o with stroke translates into Unicode as 216.
To say emdash:
if Unicode Compliance is 1
begin;
say "[Unicode em dash]";
otherwise;
say "--";
end if.
To say u-diaeresis:
if Unicode Compliance is 1
begin;
say "[Unicode latin small letter u with diaeresis]";
otherwise;
say "ue";
end if.
To say e-acute:
if Unicode Compliance is 1
begin;
say "[Unicode latin small letter e with acute]";
otherwise;
say "e[apostrophe]";
end if.
To say o-stroke:
if Unicode Compliance is 1
begin;
say "[Unicode latin capital letter o with stroke]";
otherwise;
say "Oe";
end if.
bullet point translates into Unicode as 8226.
To say bullet:
if Unicode Compliance is 1
begin;
say "[Unicode bullet point]";
otherwise;
say "*";
end if.
To say Greek-Kallisti:
say "[unicode Greek capital letter kappa][unicode Greek capital letter alpha][unicode Greek capital letter lamda][unicode Greek capital letter lamda][unicode Greek capital letter iota][unicode Greek capital letter sigma][unicode Greek capital letter tau][unicode Greek capital letter iota]".
To say Greek-lament:
say "[Unicode Greek capital letter alpha with psili][Unicode Greek small letter pi][Unicode Greek small letter omicron][Unicode Greek small letter theta][Unicode Greek small letter alpha][Unicode Greek small letter nu][Unicode Greek small letter epsilon][Unicode Greek small letter iota with perispomeni][Unicode Greek small letter nu] [Unicode Greek small letter theta][Unicode Greek small letter epsilon with oxia][Unicode Greek small letter lamda][Unicode greek small letter omega]".
To say Runic-Impenetrable:
say "[Unicode runic letter isaz is iss i][Unicode runic letter mannaz man m][Unicode runic letter pertho peorth p][Unicode runic letter ehwaz eh e][Unicode runic letter naudiz nyd naud n][Unicode runic letter ehwaz eh e][Unicode runic letter tiwaz tir tyr t][Unicode runic letter raido rad reid r][Unicode runic letter ac a][Unicode runic letter berkanan beorc bjarkan b][Unicode runic letter laukaz lagu logr l][Unicode runic letter ehwaz eh e]".
To say Anais:
if Unicode Compliance is 1
begin;
say "Ana[Unicode 239]s";
otherwise;
say "Anais";
end if.