Would be nice, if this could be changed, that the Flag #PB_ByteLength is simply ignored, if the format is not Utf8.Help wrote:#PB_ByteLength:
only valid when using the #PB_UTF8 flag, the 'Length' will represent bytes (not characters).
Background: Copying file-text to memory an then using PeekS, I can use the BOM as flag. At the moment I have to make an additional check to see if I can use #PB_ByteLength or not.