Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.105
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
perl-IO-HTML /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
detect-encoding.pl
574
B
-rwxr-xr-x
2022-02-16 12:50
Save
Rename
#!/usr/bin/perl #--------------------------------------------------------------------- # This example is hereby placed in the public domain. # You may copy from it freely. # # Detect the encoding of files given on the command line #--------------------------------------------------------------------- use strict; use warnings; use IO::HTML qw(html_file_and_encoding); for my $filename (@ARGV) { my ($filehandle, $encoding, $bom) = html_file_and_encoding($filename); close $filehandle; $encoding .= " BOM=$bom" if defined $bom; print "$filename: $encoding\n"; }