[squeak-dev] Re: OSProcess and multiline input
Bert Freudenberg
bert at freudenbergs.de
Tue Feb 28 11:19:13 UTC 2012
On 28.02.2012, at 03:58, Sean P. DeNigris wrote:
>
> David T. Lewis wrote
>>
>> I have a hunch that if you were
>> to convert your multi-byte input string into a byte array, thence back
>> to a string of 8-bit characters
>
> I tried aWideString asByteArray asString (as well as some other
> experiments), which did not work. Is that what you meant?
Err, no. You need to encode it. Try squeakToUtf8. This converts from a WideString to a ByteString using UTF8 encoding.
- Bert -
More information about the Squeak-dev
mailing list
|