James G. Sack (jim) wrote:
Gregory K. Ruiz-Ade wrote:
Anyone know of a library or utility that can be fed a UTF string, and
stomp it down to the most-visually-equivalent ASCII string?

I'm looking for something that will basically take all foreign language
gylphs and replace them with the nearest-looking ASCII equivalent.

Perl is my current tool of choice, but either my search-fu is weak, or
there simply isn't anything available right now.

I'm not sure I know how to interpret your question.

What would you want to do with, say
  BENGALI LETTER NGA (ঙ)?

Maybe you were thinking only of latin letters with accents? That might
make more sense, I guess. There's only maybe(?) a few hundred of those.

But offhand, I think you are wishing for the moon. :-)

Maybe it could decode the glyph into ASCII art.

Gus

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to