[futurebasic] Re: [FB] Help with so-called "option space" character

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2016 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Sun, 10 Jul 2016 07:23:35 -0700
> Ken wrote: I’ve distilled this down to a more pertinent code that may get you closer to a resolution.
> 
> // Encode with Classic Mac encoding
> NSString *optionCharacter = [[NSString alloc] initWithData:data encoding:NSMacOSRomanStringEncoding];
> 
> // I think this returns an option-space
> NSLog(@"val: %@", optionCharacter);


> dataRef = fn CFDataCreate( _kCFAllocatorDefault, @i, (CFIndex)sizeof(i) )

Thank you Ken. As I went to bed last night it occurred to me that something like creating CFData from bytes and then creating the CFString from the CFData might be a solution. I’ll play with your code first since you’ve already done some testing whereas my idea was just a glimmer at bedtime. 

Thanks again for the help.

Brian