[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] is_iso_alpha function
From: |
skhilji |
Subject: |
[Texmacs-dev] is_iso_alpha function |
Date: |
Thu, 13 May 2004 16:03:52 -0400 |
Where did we get this function from? Whats magical about 128, 159, 189, 190,
and 191? Aren't we assuming a certain character encoding with this function?
Salman
bool
is_iso_alpha (register char c)
{
int i = ((int) ((unsigned char) c));
return
((c >= 'a') && (c <= 'z')) ||
((c >= 'A') && (c <= 'Z')) ||
((i >= 128) && (i != 159) && (i != 189) && (i != 190) && (i != 191));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Texmacs-dev] is_iso_alpha function,
skhilji <=