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. :-) > There are lots of Unicode characters which have ASCII equivalents. The trade markand copyright logo are examples. This kind of thing is really important.
--Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
