Howdy,

In the course of one of my hobbies (Heraldry in the SCA), there is often need to represent non-ASCII characters, some of which are not in ISO-Latin-1. These are all accented letters of some sort (or ligatures). In order to accomodate correspondents who may be limited to a typewriter character set, a notation was devised which has become known as "Da'ud notation".

In this notation, special characters are encoded as a two character sequence within {}. Typically, the first character is the underlying letter, and the second denotes the "accent" mark. For example, a c with a cedilla is {c,}.

Since I maintain the master database of stuff for this hobby, I get to deal with translating to and from this notation. To that end, I have a Perl module that captures this process in a dark box. In order to make this potentially useful tool available to more people (or at least make it easier for the wider community to get), I'm considering putting it up on CPAN.

I'm open to suggestions on a better name or namespace to place this. Absent such convincing, I'm gonna stick with Text::Daud.

The module presently translates from Daud to ASCII, Latin-1, HTML Entity, and Unicode. It also can translate from Latin-1 back to Daud. It also will tell you if a string can be translated from Daud to the selected target form without loss of information. I'll share details of the API under separate cover later.

Thanks for any useful suggestions you might have.

yours,
Michael


In reply to YA Text encoding module -- Text::Daud by herveus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.