Changeset 22857 for main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm
- Timestamp:
- 2010-09-06T19:08:11+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm
r22842 r22857 1296 1296 1297 1297 $$text =~ s/\s+/ /g; # remove \n's 1298 1299 # At this point $$text is a binary byte string 1300 # => turn it into a Unicode aware string, so full 1301 # Unicode aware pattern matching can be used. 1302 # For instance: 's/\x{0101}//g' or '[[:upper:]]' 1303 # 1304 1305 $$text = decode("utf8",$$text); 1298 1306 } 1299 1307
Note:
See TracChangeset
for help on using the changeset viewer.