Namerecord nameID="0" maximum length

I’m searching for a reference about maxium caracters o for “0 Copyright notice.”

Technically the length of the string needs to be stored in a uint16, which means that the name is 2^16=65536 bytes long. It depends on the encoding you use, but assuming you have platform ID 3 Windows and Unicode BMP encoding, you can assume 2 bytes per character, so roughly 30.000 characters. Does this make sense?

1 Like