FFI wide-character type?
John M McIntosh
johnmci at smalltalkconsulting.com
Fri Aug 4 07:22:57 UTC 2006
Oh sure after I spend an hour typing out a note about this.
'abc' asWideString asByteArray
will do the right thing assuming your 'abc' String doesn't need
conversion, even so
('abcd' convertFromWithConverter: (MacRomanUnicodeTextConverter new))
asWideString asByteArray
will also do the right thing, although it's a bit more expensive as
it rummages about deciding if the intermediate parts are String or
WideString
On 3-Aug-06, at 7:21 PM, Ron Teitelbaum wrote:
> I found a solution that allows me to use ascii characters.
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|