UnrealPackageReader.js
    Preparing search index...

    Module io/text

    Text decoding.

    Unreal 1 predates widespread Unicode, so strings are single-byte and encoded in the Windows codepage of the era.

    Three forms appear in a package:

    • length-prefixed and null-terminated (the name table from version 64 on, and every URL/map field)
    • null-terminated only (the name table before version 64)
    • a compact-index length whose sign selects the encoding (Str properties)
    DEFAULT_ENCODING
    UTF16_ENCODING
    decodeText
    readSizedText
    readNullTerminatedText
    readStringProperty