in reply to Difficulty with UTF-8 and file contents
haukex hit the nail on the head when he observed that the behavior is not in this user's program, but in the implementation of HTML::TreeBuilder when given a file-name string versus a handle. (And, perhaps this package's behavior is erroneous and should be changed ...)