|
On Feb 26, 2016 7:15 AM, "Dirk Laurie" <dirk.laurie@gmail.com> wrote:
>
> 2016-02-26 16:33 GMT+02:00 Alexander Gladysh <agladysh@gmail.com>:
> > On Fri, Feb 26, 2016 at 4:45 PM, Richter, Jörg <Joerg.Richter@pdv-fs.de> wrote:
> >>> I remember seeing an ASCII folding[1] module for Lua a few years ago.
> >>
> >> Do you mean Unidecode?
>
> I have occasionally needed the reverse: given a US-ASCII rendering
> of a (usually well-known) word or name, reconstruct its original form.
>
Which is, of course, impossible in the general case, due to the mapping not being one-to-one. For example, resume vs. résumé, or expose vs. exposé.
/s/ Adam