Hi all,
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úúüűűvwxyz"
stripped: "aaaabcdeefghiiijklmnoooooopqrstuuuuuuvwxyz"

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.

I was thinking adding two new strings to the HB_CODEPAGE structure,
which would hold the necessary ASCII character equivalent of the current
accented lowercase and uppercase char strings.

Any comments?

Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to