in reply to Re^3: UTF8 Validity
in thread UTF8 Validity

Encode::Guess is lame because the user needs to tell it which encoding the binary is.

Use Encode::Detect instead. This is the same detector used in Mozilla browsers.

Replies are listed 'Best First'.
Re^5: UTF8 Validity
by menolly (Hermit) on Feb 22, 2008 at 18:23 UTC
    I've been using Encode::Guess, but have had trouble building a suspects list for some data. However, Firefox hasn't been able to appropriately handle the problem data, either, so if Encode::Detect is the same method, I doubt it would've done any better on this data.