-Support utf-8 on output

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-01-04 18:59:24 +00:00
parent 6703934d37
commit eeeb744e52

View File

@ -6516,6 +6516,8 @@ sub process_request {
socketpair($pfd, $cfd,AF_UNIX,SOCK_STREAM,PF_UNSPEC) or die "socketpair: $!";
$cfd->autoflush(1);
$pfd->autoflush(1);
binmode($cfd,':utf8');
binmode($pfd,':utf8');
my $child = xCAT::Utils->xfork();
unless (defined $child) { die "Fork failed" };
if ($child == 0) {