Changeset 25411 for main/trunk
- Timestamp:
- 2012-04-18T10:39:00+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/basebuildproc.pm
r24754 r25411 195 195 196 196 $self->{'output_handle'} = $handle; 197 # The output handle isn't always an actual handle. In a couple of the 198 # database drivers (MSSQL and GDBMServer) it's actually a reference 199 # to an object. Thus we need to test the type before setting binmode. 200 # [jmt12] 201 if (ref $handle eq "GLOB") 202 { 203 binmode($handle,":utf8"); 204 } 197 205 binmode($handle,":utf8"); 198 206 }
Note:
See TracChangeset
for help on using the changeset viewer.