Encode...X::ZDMG(3pm)

πŸ“¦
version 14.2 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’… NAME πŸ’…

Encode::Arabic::ArabTeX::ZDMG β€” bestie, it's the ZDMG phonetic transcription of Arabic, done through the ✨ArabTeX✨ notation. That's literally the whole vibe.


πŸŽ€ SYNOPSIS πŸŽ€

use Encode::Arabic::ArabTeX::ZDMG;  # imports just like 'use Encode' would, plus extended options

while ($line = <>) {                # maps the ArabTeX notation for Arabic into the Latin symbols

    print encode 'utf8', decode 'zdmg', $line;        # 'ZDMG' alias 'ArabTeX-ZDMG'
}

# ArabTeX lower ASCII transliteration <--> Latin phonetic transcription, ZDMG style

$string = decode 'ArabTeX-ZDMG', $octets;
$octets = encode 'ArabTeX-ZDMG', $string;

Like, look at her go 🫢. Same energy as use Encode, but with extra options on top. And yes, 'ZDMG' is a whole alias for 'ArabTeX-ZDMG', they're the same girl, no cap.


🌸 DESCRIPTION 🌸

Ok so imagine a right-to-left script and imagine your LaTeX wanting to type it out β€” that's ArabTeX, an absolutely excellent extension to TeX/LaTeX made for the Orient's right-to-left scripts. And the way it handles it? It comes with these super intuitive, super comprehensible lower ASCII transliterations, and honestly the expressive power of those is even better than that of the scripts themselves. It's giving main character energy fr fr πŸ‘‘

Encode::Arabic::ArabTeX::ZDMG implements the rules you need for a proper interpretation of the ArabTeX notation of Arabic into the phonetic transcription in the ZDMG style. The conversion ifself is done by Encode::Mapper, and the user interface is built on top of the Encode::Encoding module. (And yeah, "ifself" is a typo, I'm leaving it in, she's iconic like that 😭)

The relevant guidance lives in Encode::Arabic::ArabTeX, which this module inherits from β€” family tree, we love to see it 🌈. But β€” and this is the tea β€” the transformation rules are quite different ;) πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

Go read them, bestie, it's required reading for the aesthetic πŸ“šβœ¨


πŸ‘‘ AUTHOR πŸ‘‘

Otakar Smrz "<otakar-smrz users.sf.net>", <http://otakar-smrz.users.sf.net/>

We stan 🫢


Copyright (C) 2003-2010 Otakar Smrz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Slay, and also legally binding ✨


kisses, this was Encode...X::ZDMG(3pm), served fresh from perl v5.36.0 on 2022-10-16 β€” the manual's own little signature, and now it's a sign-off πŸŒΈπŸ’…πŸ’œ

πŸ“¦ where this page comes from