Re: ToObject "preamble" Parameter

Jonathan Swartz <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
We're not going to add a use_utf8 for 1.27 - as far as I'm concerned 
that branch is closed for new features. We can consider it for 1.3x.

In the meantime, David, have you tried writing a small subclass of
HTML::Mason::Compiler::ToObject that overrides _make_main_header?

David Wheeler wrote:

> On Sep 28, 2004, at 9:33 AM, David Wheeler wrote:
> 
>>> But we have stuff like MasonX::Profiler on CPAN that relies on having
>>> access to $m in the preamble.  Doh, this is annoying.
>>>
>>> I'm inclined to add a 'use_utf8' parameter to the compiler for this, as
>>> Jonathan mentioned.
>>
>>
>> That's fine, but then I think that we should document that preamble 
>> isn't really a preamble, since it comes after %once blocks.
> 
> 
> John, Dave, can we get a ruling on this? I'd love to see better utf8 
> support in 1.27.
> 
> Thanks,
> 
> David
> 
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.