>> All other bytes (including ASCII) are unscathed. Is your point about the
>> UTF8->UTF16 bit?
>
> No, about emitting a four byte, two character sequence as twelve bytes because
> it gratuitously escapes things:
>
> puts utf8_to_pson("ÂĎ")
> => "\u00c2\u010e"
Ah, I see. So you're saying that when everything is UTF16BE anyway, it
can as well be transferred binary with said encoding instead of escaping
the encoding in addition.
I'm inclined to second that, except I'm not sure whether there are
conceivable non-ASCII non-UTF strings that include valid UTF16
characters. The parser could not discern between UTF and binary then, or
could it?
Cheers,
Felix
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.