utf8bom - handling Byte Order Mark for UTF-8 files.
utf8bom [options] utf8bom -insert -dir /path/to/dir -recursive utf8bom -strip -file /path/to/file Options: -help display this help and exists -insert run as insert mode -strip run as strip mode -file file you want to insert/strip bom into/from. -dir directory which includes files that you want to insert/strip bom into/from. -recursive run as recursive mode
you can set each options with their first alphabet. for example, you can write -d instead of -dir
This script allows you to insert UTF8's BOM into strings and files, or remove it from them easily.
Lyo Kato <email@example.com>
Copyright 2005 Lyo Kato. All rights reserved.
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.