[PD-dev] float handling in [binfile] for UTF-8 handling

Hans-Christoph Steiner hans at at.or.at
Mon Jan 30 23:45:26 CET 2012


The current pdstring format of lists of bytes seems to be working out pretty well.  I just had a thought, it would be nice to be able to write Unicode text out as UTF-8 files using [binfile].  I think currently it only accepts byte values of 0-255.  What if it converted values > 255 in the UTF-8 style?  Or should that be a separate [utf8file]?  I suppose the advantage of [utf8file] would be to make an easy conversion to [utf16file] and [utf32file].

.hc

----------------------------------------------------------------------------

"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White







More information about the Pd-dev mailing list