[PD] how to type more than one "space" in GEM with [text2d] - [textfile] output?
IOhannes m zmoelnig
zmoelnig at iem.at
Mon Apr 19 09:39:43 CEST 2010
On 2010-04-18 16:16, Martin Peach wrote:
> Ingo Scherzinger wrote:
>> Is there an object that can read textfiles (or any other file type) that
>> includes "spaces" and can output these spaces (as something) so I can
>> convert them to "ascii 32" or "ascii 160"?
> [mrpeach/binfile] will output raw bytes from any file, so spaces in a
> text file will show up as 32.
and Gem is (almost) able to directly read these via the "string" message.
that's all documented for [text3d], and all [text*] objects basically
have the same interface.
 if you only use ASCII; if you want to use extended characters, you
have to convert the UTF-8 bytes that you get out from [binfile] into
Unicode-codepoint numbers. there's an abstraction somewhere in
iem/unicode/ that does just that.
i seem to remember that something like this was on the list just recently...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
More information about the Pd-list