可用于打开文件并基于 HTML5 算法自动检测字符集,便于后续交给 HTML::Parser 等模块处理或自行读取,核心功能是实现文件字符集的自动识别与处理。【此简介由AI生成】
IO-HTML version 1.004, released September 26, 2020
This module opens a file and performs automatic charset detection based on the HTML5 algorithm. You can then pass the filehandle to HTML::Parser or a related module (or just read it yourself).
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
Package Minimum Version
perl 5.8.0
Carp
Encode 2.10
Exporter 5.57
CHANGES Here's what's new in version 1.004 of IO-HTML: (See the file "Changes" for the full revision history.)
- No code changes since 1.003, just documentation improvements
- New example file: detect-encoding.pl
COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by Christopher J. Madsen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.