Hello @lnickt,

thanks first.
Concerning your welcome to monastery I am many years into it. But thanks nonetheless.

An early concern about late mention before I forget it: Test::utf8

<cite>This module is a collection of tests useful for dealing with utf8 strings in Perl.</cite>

I read: "dealing with utf8 strings"
This is not, what I want. I want to deal with "non-utf8" strings. They should become utf8 strings but I don't want to deal with it. I guess that's quite different.

To do an early "over all": I don't understand everything you say, I am also not native english.
So I try to answer things you name as far as I can. Something you write is irritating for me. Besides I think you're running to make the things too big, they aren't as big. They are small.

to answer your mentions:

I've had a look on SSCCE.

<cite>An even simpler SSCCE</cite>
I don't know, what you want to tell me with this. Actually I am not able to see a relation to my case. If there is one, then sorry.

<cite>Your code looks as though you first spent time</cite>
I'm aware that different people have different strategies for software development. As for my programming experience since 1986 I believe that's a good idea to move emerging problems to solved section, every thing that emerges that is solved will not be a problem in the future.

<cite>Your script, judging by its name, appears actually to be trying to decide if a file is encoded in UTF-8.</cite>
No. my script in the future should convert some hundred files from any encoding to UTF-8. Because the files are output of at mindst 5 different tools it is no way to decide by hand what encoding they are. It has to be done by a guess.
But in this first step I want to do this first step and guess what encoding they are. And for this I tought it would be a good idea to use a standard package. Maybe I've choosen the wrong.

There's no more to say. Regards.


In reply to Re^2: issue with Encode::Guess by toohoo
in thread issue with Encode::Guess by toohoo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.