develooper Front page | perl.perl5.porters | Postings from January 2001

Re: 8482 busted for $^V sprintf()s on OS/390

Thread Previous | Thread Next
January 21, 2001 07:30
Re: 8482 busted for $^V sprintf()s on OS/390
Message ID:
>>>>> On Sun, 21 Jan 2001 11:35:08 +0000, (Nick Ing-Simmons) said:

  > Andreas J . Koenig <> writes:
>> print chr 9729
>> dies with the "Wide character in print" error from patch 8058 through
>> 8494 for me. On Linux.

  > As it should ?


>> binmode STDOUT, ":utf8"; print chr 9729;
>> works. Should we not presume STDOUT to be utf8-aware? 

  > At least _this_linux box's konsoles are NOT UTF-8 aware.
  > As I understand it by default perl is still iso8859-1 (ASCII world)

Yes, you're right, I forgot that. Please let me ask a few more
questions, maybe these are FAQs in the near future...

1) What do we offer as convenience for the XFree users that have
   switched to UTF-8 terminals?

2) Where is or should that be documented?

3) How does a user find out about available disciplines on his

4) I tried C<use open OUT => ":utf8">, it says

     Can't coerce GLOB to string in concat at /usr/local/perl-5.7.0@8494/lib/5.7.0/Carp/ line 38.

   is this a bug in perl or in my program?

5) I tried C<use open OUT => ":raw"> within the debugger. It says

     Unknown discipline layer ':raw' at (eval 30)[/usr/local/perl-5.7.0@8494/lib/5.7.0/] line 2

   is this a bug in perl or in my program?

6) What is "IN" and "OUT" in the manpage for the open pragma? Are
   these filehandles or just symbolic names that stand for inout and
   output to any filehandle in th same scope?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About