J
Jakob Bieling
Hi,
Did not really know a short subject line, which describes my question
better. I want to figure out, if a specific character is an alphabetic
character, without having to be locale specific. For example, even tho the
Umlaut a (ie. 'ä') is not in part of the English alphabet, it is part of the
German alphabet. Despite that, I would like the Umlaut a to be recognised as
an alphabetic character, without having to switch locales; otherwise, I
would have to loop thru all different locales, just to find out, if a
character is part of the alphabet of any of these.
Tho my documentation tells me that 'for iswalpha, the result of the test
condition is independent of locale', it still returns 0 for the Umlaut a. Is
my C++ implementation broken or did I just misunderstand something?
Thanks!
Did not really know a short subject line, which describes my question
better. I want to figure out, if a specific character is an alphabetic
character, without having to be locale specific. For example, even tho the
Umlaut a (ie. 'ä') is not in part of the English alphabet, it is part of the
German alphabet. Despite that, I would like the Umlaut a to be recognised as
an alphabetic character, without having to switch locales; otherwise, I
would have to loop thru all different locales, just to find out, if a
character is part of the alphabet of any of these.
Tho my documentation tells me that 'for iswalpha, the result of the test
condition is independent of locale', it still returns 0 for the Umlaut a. Is
my C++ implementation broken or did I just misunderstand something?
Thanks!