> I'm currently banging my head against the wall trying to figure out was > causing this in the first place. Obviously, the PSON generator considers > my byte invalid. Tried the attached hotfix (does this work in the > group?), with no success so far. The exception is raised invariably.
Never mind, attempt was much too clumsy and in the wrong conditional branch. Still, I guess I just need to teach the generator to not raise meaningless exceptions and generate correct escape sequences instead. What I don't really understand is how the serialization really works. If I read this right, each 16bit word (UTF16be encoded) is sent as '\uXXXX' where XXXX is the hex representation? So, "invalid" bytes should get a '/xXX' representation instead? (Without attempting to convert to UTF16 of course) Regards, 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.
