[ic] ic-utf8 readfile/writefile patch
David Christensen
david at endpoint.com
Sat Mar 21 18:30:54 UTC 2009
On Mar 21, 2009, at 7:51 AM, Stefan Hornburg (Racke) wrote:
>> my $data = $Db{transaction_documents}->field($td_code, 'content');
>> $data = $Tag->filter({op => 'decode_base64', body => $data});
>
> Putting at this point:
>
> Encode::_utf8_on($data);
>
> "solves" the problem.
I think the only reason this is the case is that the PerlIO subsystem
sees the flag is set and doesn't bother to re-encode the data, it just
outputs the buffer as it currently exists.
Regards,
David
--
David Christensen
End Point Corporation
david at endpoint.com
212-929-6923
http://www.endpoint.com/
More information about the interchange-users
mailing list