Re: removing diacritical marks from strings
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: removing diacritical marks from strings
- From: Tomas Guisasola Gorham <tomas@...>
- Date: 2007年4月15日 19:57:53 -0300 (BRT)
Hi Norman
> Does anybody happen to have a mapping (or an algorithm) that will
> remove diacritical marks from strings? I'd like to convert Jérôme to
> Jerome and that sort of thing.
In the old days of Lua 4.0 I had a similar problem. The code
(for Lua 4.0) is in:
http://www.tecgraf.puc-rio.br/~tomas/mapa.lua
I think it works in Lua 5.1, but have not tried to. It is a
big table and some converter functions.
Tomás