taglib-ts
    Preparing search index...

    Function needsNonLatin1Encoding

    • Returns true if the string contains any character whose code point is greater than 0xFF (i.e. outside the Latin-1 / ISO-8859-1 range). Used to decide when a Latin1-encoded frame must be upgraded to UTF-8. Mirrors the logic in C++ TagLib's TextIdentificationFrame::renderFields().

      Parameters

      • s: string

      Returns boolean