Re: prototype 41 and Red Hat 9

Anderson Lizardo <andersonlizardo-/E1597aS9LRfJ/[email protected]> Thu, 23 Oct 2003 15:11:29 -0400
Newsgroups gmane.mail.yosucker.general
Message-ID <[email protected]>
Vlad Zero wrote:
> However I thought of fixing this problem by using the 'no utf8'
> directive in YoSucker's code that should prevent it from outputing in
> utf8 at all. Perl should take this directive into consideration when
> working with scripts but as I see now, the LOCALE settings seem to
> have a precedence. Hm, I guess the easiest solution is to run
> YoSucker from a script that sets the LANG value to non-utf8 and then
> turns it back to UTF once YoSucker has finished.

Or you can use the "setlocale" function from POSIX package. See:

http://www.perldoc.com/perl5.8.0/lib/POSIX.html#setlocale

-- 
Anderson Lizardo



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/