The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
VietPad 2.0 (.NET implementation branch) iBot Software Releases - RSS News 0 04-04-2008 09:00 AM
Piping and redirection implementation mobile01 High Level Programming 7 12-20-2006 07:52 PM
need help with my implementation of cat in bash sanchopansa Shell Programming and Scripting 4 10-18-2006 03:28 AM
Socket implementation differences charlcy HP-UX 3 05-07-2005 02:54 PM
Shell Implementation clickonline1 UNIX for Dummies Questions & Answers 3 10-02-2001 01:52 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-19-2006
Registered User
 

Join Date: Jul 2006
Posts: 4
Stumble this Post!
isascii & isextendedascii implementation

I know that there exists a function that says whether a particular character is ascii or not (i.e, isascii), is there any similar function that can say whether a character is an extended ascii. If possible can i have the internal implementaation of both.

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-19-2006
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
Stumble this Post!
The google search for isextendedascii turned up only three links. All of them seem to be for java... check it out
Reply With Quote
  #3 (permalink)  
Old 07-21-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
Stumble this Post!
Define 'extended ascii'. Do you mean multibyte characters in UTF8 or something like that?

The definition of isascii is simple:
Code:
// Valid ASCII characters are 0-127
int isascii(int char)
{
  return((char <= 127) && (char >= 0));
}
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0