[Modify] Add it

This commit is contained in:
sta 2018-09-13 20:30:04 +09:00
parent 58e5ef372a
commit 9f742aa415

View File

@ -393,6 +393,12 @@ namespace WebSocketSharp.Net
_entities.Add ("euro", '\u20AC'); _entities.Add ("euro", '\u20AC');
} }
private static bool isAlphabet (byte b)
{
return (b >= 65 && b <= 90)
|| (b >= 97 && b <= 122);
}
private static bool isAlphabet (char c) private static bool isAlphabet (char c)
{ {
return (c >= 'A' && c <= 'Z') return (c >= 'A' && c <= 'Z')