Re: [Harbour] Stripping accents from a string.

2009-01-30 Thread Viktor Szakáts
> > This should be implemented in different way. > We will need global unicode fallback table which will work for any CP > looking for corresponding character replacement in the destination CP > so it will be enough to make translation between any used CP and ASCII > CP (we will have to introduce s

Re: [Harbour] Stripping accents from a string.

2009-01-30 Thread Przemyslaw Czerpak
On Fri, 30 Jan 2009, Szak�ts Viktor wrote: Hi, > Stripping accents from a string is often needed when dealing with external > systems > accepting only ASCII alphabet, and is useful to prepare strings for > comparison (in > case of names f.e.). > original: "aááäbcdeéfghiííjklmnoóóöőőpqrstuúúüűűvwx

Re: [Harbour] Stripping accents from a string.

2009-01-30 Thread Viktor Szakáts
2009/1/30 Alex Strickland > Viktor Szakáts wrote: > > Any comments? >> > > Are you thinking of catering for things like ß -> ss? Yes, this one could be solved also. This actually makes it much more complicated that I've planned, but fits into the picture and needs to be solved. Another intere

Re: [Harbour] Stripping accents from a string.

2009-01-30 Thread Alex Strickland
Viktor Szakáts wrote: Any comments? Are you thinking of catering for things like ß -> ss? Regards Alex ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Stripping accents from a string.

2009-01-30 Thread toni...@fwi
>This functionality is missing from Harbour, yet it would be best integrated >to the codepage subsystem. But before I do anything, I'd like to discuss it >here. Viktor, This is a nice feature for languages like portuguese for example. I have my own func that do this, but integrate it in HB_CODEPA