ASCII problem
ASCII problem
- Subject: ASCII problem
- From: Jim Marschke <email@hidden>
- Date: Thu, 2 Jun 2005 07:39:32 -0700
I'm trying to parse an NSMutableString to determine the ASCII value
of the characters using characterAtIndex.
StrLen = [theString length];
for (i = 0; i < StrLen; i++) {
unichar AsciiNum = [theString characterAtIndex:i]
This works fine until I hit a character with an ASCII value greater
than 127. After that I get unpredictable results.
How can I determine the ASCII value of a character that is greater
than 127?
Jim Marschke
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden