From: erickson Date: Tue, 23 Oct 2007 19:56:40 +0000 (+0000) Subject: added utf8 binmode so that org unit names are displayed correctly when using OrgTree.js X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4d1810a9d478cfdf140ff9c46379642bf95fb8d1;p=Evergreen.git added utf8 binmode so that org unit names are displayed correctly when using OrgTree.js git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7924 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/extras/org_tree_js.pl b/Open-ILS/src/extras/org_tree_js.pl index 17a679be5d..c16af515c6 100644 --- a/Open-ILS/src/extras/org_tree_js.pl +++ b/Open-ILS/src/extras/org_tree_js.pl @@ -67,6 +67,7 @@ for my $t (@$types) { $pile =~ s/, $//; # remove trailing comma $pile .= '];'; +binmode STDOUT, ':utf8'; print "$pile\n";