[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hybi] WS framing alternative



Martin J. Dürst wrote:
> On 2009/10/27 19:08, Greg Wilkins wrote:
> 
>> Existing UTF-8 to character conversions will error if they get a partial
>> multipart character,
> 
> No, good transcoding libraries have options that say what to do in such
> a case. Iconv is definitely an example, String#encode in Ruby is another.

and such libraries make working out the length in bytes very
simple.   So if you have a good library, then the argument that
the byte length can't be known is not applicable.

regards


Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.