Re: Unicode->ASCII approximate conversion

2004-01-06 Thread Anto'nio Martins-Tuva'lkin
On 2003.12.19, 13:21, D. Starner <[EMAIL PROTECTED]> wrote: > 0108 - "CH" (Esperanto) > 011C, 011D - "GH", "gh" (E-o) > 0124, 0125 - "HH", "hh" (") > 0134, 0135 - "JH", "jh" (") > 015C, 015D - "SH", "sh" (") Actually, most of us use "x" instead of "h", as fall back in poor media. If terribly inte

Re: Unicode->ASCII approximate conversion

2003-12-29 Thread Hallvard B Furuseth
Radovan Garabik writes: > konwert (konwert UTF8-ascii) > and unaccent. Found them. Thanks! -- Hallvard

Re: Unicode->ASCII approximate conversion

2003-12-22 Thread Radovan Garabik
On Fri, Dec 19, 2003 at 11:13:01AM +0100, Hallvard B Furuseth wrote: > I need a function which converts Latin Unicode characters to the closest > equivalent ASCII characters, e.g. "é" -> "e". > > Before I reinvent the wheel, does any public domain or GPL code for this > already exist? konwert (k

Re: Unicode->ASCII approximate conversion

2003-12-19 Thread Hallvard B Furuseth
D. Starner writes: >> The result is much better if you allow the ASCII conversion to be a string. >> This allows you to, e.g., "©" = "(c)", "½" = "1/2", and so on. This is also >> good for letters: "ß" = "ss", "å" = "aa", etc. > > etcetra? I think he needs more direction then that, especially most

RE: Unicode->ASCII approximate conversion

2003-12-19 Thread D. Starner
> The result is much better if you allow the ASCII conversion to be a string. > This allows you to, e.g., "©" = "(c)", "½" = "1/2", and so on. This is also > good for letters: "ß" = "ss", "å" = "aa", etc. etcetra? I think he needs more direction then that, especially most naïve algorithms are goi

Re: Unicode->ASCII approximate conversion

2003-12-19 Thread Jungshik Shin
On Fri, 19 Dec 2003 [EMAIL PROTECTED] wrote: > Quoting Hallvard B Furuseth <[EMAIL PROTECTED]>: > > > I need a function which converts Latin Unicode characters to the closest > > equivalent ASCII characters, e.g. "Ã" -> "e". > 1. Produce the NFD normalisation of the text. > 2. Remove all characte

Re: Unicode->ASCII approximate conversion

2003-12-19 Thread jon
Quoting Hallvard B Furuseth <[EMAIL PROTECTED]>: > I need a function which converts Latin Unicode characters to the closest > equivalent ASCII characters, e.g. "é" -> "e". > > Before I reinvent the wheel, does any public domain or GPL code for this > already exist? > > If not, > for the most par

RE: Unicode->ASCII approximate conversion

2003-12-19 Thread Marco Cimarosti
Hallvard B Furuseth wrote: > I need a function which converts Latin Unicode characters to > the closest equivalent ASCII characters, e.g. "é" -> "e". > > Before I reinvent the wheel, does any public domain or GPL > code for this already exist? I don't know, sorry. > If not, > for the most part

RE: Unicode->ASCII approximate conversion

2003-12-19 Thread Philippe Verdy
Hallvard B Furuseth wrote: > I need a function which converts Latin Unicode characters to the closest > equivalent ASCII characters, e.g. "é" -> "e". > > Before I reinvent the wheel, does any public domain or GPL code for this > already exist? Please don't use character names for that conversion:

Unicode->ASCII approximate conversion

2003-12-19 Thread Hallvard B Furuseth
I need a function which converts Latin Unicode characters to the closest equivalent ASCII characters, e.g. "é" -> "e". Before I reinvent the wheel, does any public domain or GPL code for this already exist? If not, for the most part I expect I can make the mapping from the character names, e.g. i