On Wed, Mar 31, 2004 at 10:52:10PM +0100, Nick Ing-Simmons wrote:
: >Is there at all any possibility to feed Perl a script that has been
: >saved in UTF-16? (Which is how you normally save Unicode on Windows.)
:
: Perl5's assumption is that Unicode is saved as UTF-8.
: For Perl6 ask elsewhere ...
Erland Sommarskog <[EMAIL PROTECTED]> writes:
>
>It seems that the only way out, is to first open the file in plain mode,
binmode I suspect.
>look at the first three bytes, and if it is BOM, close the file, open
>again with the appropriate options and discard the BOM.
You don't have to close it
Sadahiro Tomoyuki wrote:
> On Mon, 29 Mar 2004 23:44:00 +0100
> Rich <[EMAIL PROTECTED]> wrote:
>
>> Using the multi-lingual server scenario I was initially discussing, would
>> one of the following usages be correct (yes, it's just pseudocode and
>> exists in a world where no errors ever occur!)