[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: Ken Shmidheiser <kshmidheiser@...>
Date: Sun, 10 Jul 2016 08:42:36 -0400
Brian,

I've distilled this down to a more pertinent code that may get you closer to a resolution.

Ken


include "ConsoleWindow"

dim as CFDataRef   dataRef
dim as CFStringRef circulflexE, optionSpace

dim as short i : i = 202

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

circulflexE = fn CFStringCreateFromExternalRepresentation( _kCFAllocatorDefault, dataRef, _kCFStringEncodingASCII )
fn ConsolePrintCFType( circulflexE )

optionSpace = fn CFStringCreateFromExternalRepresentation( _kCFAllocatorDefault, dataRef, _kCFStringEncodingMacRoman )
fn ConsolePrintCFType( optionSpace )

CFRelease( dataRef )