perl-unicode

Mixing Unicode and Byte output on a Unicode enabled Perl 5.8.0

2003-10-09 01:30:05
Hi!

I have read a lot of the entries and tried some of the techniques described but 
still I am lost.

I have a Red Hat 8 installation with Perl 5.8.0 installed. The environment sets 
Perl to use Unicode by default because I use British English as my language.

I am trying to use the £ (pound sterling) symbol in a script that produces both 
TEXT and HTML the html handles the Unicode fine, all the browsers seem to work. 
However, once the text file arrives on the Windowz box the Unicode £ screws 
Excel.

I have tried using "use bytes;" to force all output to byte encoding and the 
system still produces Unicode in the text file produced by capturing STDOUT. 
From what I read the IO layer is outputting Unicode.

Can you help by suggesting a way to force a specific script to produce 'plain 
text' (That bit more than ASCII) or preferably to specifically output, via the 
IO layer, 'plain text' on specific occasions.

Thanks in advance

Frank





***********************************************************************
This transmission contains information which may be confidential and  
which may also be privileged.  It is intended for the named addressee  
only.  Unless you are the named addressee, or authorised to receive it 
on behalf of the addressee you may not copy or use it, or disclose it 
to anyone else.  If you have received this transmission in error please 
contact the sender.  Thank you for your cooperation. 
***********************************************************************

For more information about AEA Technology please visit our website at 
http://www.aeat.co.uk

AEA Technology plc registered office 329 Harwell, Didcot, Oxfordshire OX11 0QJ.
Registered in England and Wales, number 3095862.

<Prev in Thread] Current Thread [Next in Thread>