Perl module for handling Byte Order Marks


File::BOM provides functions for handling Unicode Byte Order Marks, which are sometimes found at the beginning of some files and streams. It allows programs to automatically determine the original byte ordering a file was written with; in other words, whether the program was written in little-endian or big-endian byte order.

This module provides a simple way to open a file, determine its byte ordering and return the appropriate encoding style. Byte Order Marks are usually found at the beginning of a file, but in the case of a stream where this is not the case, this module also provides a utility to scan any filehandle for it.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libfile-bom-perl