Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for GNUstep base64 NSData #57

Closed
Artoria2e5 opened this issue Feb 17, 2020 · 1 comment
Closed

Missing support for GNUstep base64 NSData #57

Artoria2e5 opened this issue Feb 17, 2020 · 1 comment
Assignees

Comments

@Artoria2e5
Copy link

Artoria2e5 commented Feb 17, 2020

Modern GNUstep plists have a more efficient data encoding, and it is the <[ base64data ]> format:

GNUstep source that emits the format:
https://github.com/gnustep/libs-base/blob/753c907938c2a8c4d00cf0fbe01b7e0d020f0064/Source/NSPropertyList.m#L1951-L1956 (gnustep/libs-base@9aa5d4c)

GNUstep source that parses the format:
https://github.com/gnustep/libs-base/blob/753c907938c2a8c4d00cf0fbe01b7e0d020f0064/Source/NSPropertyList.m#L1202-L1277
(gnustep/libs-base@3f2fa9d)

(I wish there is a newer documentation page for the GNUstep format, but I have been unable to locate it.)

@3breadt
Copy link
Owner

3breadt commented Dec 17, 2022

I have added support for parsing this newer format, because it apparently is the currently implemented behavior. But this is not documented on the official GNUStep documentation page. So when writing ASCII property lists, the documented hexadecimal format is used, as before.

@3breadt 3breadt closed this as completed Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants