I have experienced a puzzling behaviour with the use of
flush_buffer. I use iso-latin-1 encoding on my pages, but I have a
specific Mason page which immediately after a call to flush_buffers
starts producing utf-8 encoded content.

This is a snippet from the page which exhibits this behaviour
----- snip - snip -------------------------------------------------
<h1>øæåØÆÅ</h1>
% $m->flush_buffer;
<h1>øæåØÆÅ</h1>
----- snip - snip -------------------------------------------------
The first H1 content is correctly encoded as iso-latin-1, but the
second is utf-8.

This page is rather complex, and includes among other things some RSS
processing (XML::RSS). I will try to produce a smaller test case which
reproduces the problem, but until then I was wondering if anyone on
this list could explain this behaviour.

-- 
Vegard Vesterheim               : Phone: +47 73 55 79 12
UNINETT                         : Mobile:+47 48 11 98 98
N-7465 Trondheim, NORWAY        : Email: [EMAIL PROTECTED]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to