From: Scott W. <sc...@pe...> - 2008-02-06 15:41:51
|
On Wed, Feb 06, 2008 at 08:52:39AM +0100, Martin Kutter wrote: > There are two suggested resolutions: > > 1. Don't serialize utf8-strings as base64binary. > This only works in perls >= 5.8, as there's no way to detect utf8 > strings in perls before. > > 2. Introduce a "utf8binary" type, which behaves as the base64binary, > except that the utf8 flag is restored on deserialization. > > I prefer 1), as there's no "utf8binary" type in the SOAP standard, and > fixing it for perls before 5.8 is pretty useless (these can't handle > utf8 data anyway) Perhaps it becomes a package variable that can be set, and leave it off by default so that people who upgrade won't break. Breaking things is really bad. $SOAP::Lite::NO_SERIALIZE_UT8 = 1; or something like that. Scott -- Scott Wiersdorf <sc...@pe...> |