Re: ToObject "preamble" Parameter

David Wheeler <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On Sep 28, 2004, at 8:26 AM, Dave Rolsky wrote:

> So what's the problem?  Why would 'use utf8' need to come before that?
> The whole purpose of 'use utf8' is to make sure Perl handles UTF8 chars
> in the source code properly.  Since we know wha the "set the request" 
> code
> looks like, we can know it doesn't need 'use utf8'.

The preamble is output to the object files *after* the %once block. 
What if I have UTF-8 encoded data in the %once block? This is exactly 
the problem I ran into on the Radio Free Asia project.

Read more about my fun with utf8 here:

   http://www.justatheory.com/computers/programming/perl/utf8_trials.html

Regards,

David



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
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.