I've posted a revised patch via rt at

http://rt.cpan.org/NoAuth/Bug.html?id=1550

Craig A. Berry wrote:
> At 09:19 AM 9/16/2002 -0400, [EMAIL PROTECTED] wrote:
> 
> 
>>Craig Berry wrote:
>>
>>
>>>b.) The attribute values printed to the ppd file are surrounded with
>>>double quotes per XML requirements, but there is no portable way to
>>>escape double quotes inside of double-quoted strings that works on all
>>>shells. I've replaced the occurrences of C<\"> with C<\x22> and added a
>>>comment that I hope mitigates the obfuscation.
>>
>>On os390 and bs2000 the double quotation mark is encoded in hexadecimal
>>as C<\x7f>.  I'd suggest testing for EBCDIC via either
>>C<if ($Config{'ebcdic'} eq 'define')> (expensive), or C<if (ord('A') ==
>>193)> (faster?).
> 
> 
> 
> Urk.  Yes, I forgot about EBCDIC, though since the ppd is just an orphaned 
> snippet of XML with no XML declaration, it's not clear to me that it could 
> ever be intelligble on a system that is not UTF-8.  However, if we write 
> everything else in the native character set then we should certainly write 
> the quotes in the native character set.  I'll rethink the patch and try to 
> come up with something better.
> 
> 

Reply via email to