[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] is_iso_alpha function [MORE]
From: |
skhilji |
Subject: |
Re: [Texmacs-dev] is_iso_alpha function [MORE] |
Date: |
Thu, 13 May 2004 22:37:31 -0400 |
More of my research on this. It turns out that at least in Windows encoding:
159 is a Y with two dots on top of it
189 is the one-half sign
190 is the 3/4 sign
191 is the inverted question mark.
My again I don't know why these characters are treated separately? Why not
195---which stands for an A with a ~ on top of it.
Salman
----- Original Message -----
From: address@hidden
Date: Thursday, May 13, 2004 4:03 pm
Subject: [Texmacs-dev] is_iso_alpha function
> 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] |
- Re: [Texmacs-dev] is_iso_alpha function [MORE],
skhilji <=