From 89a6638d6804f648c369a5b70440e391fdd7def5 Mon Sep 17 00:00:00 2001 From: mithrandi Date: Tue, 14 Aug 2018 20:30:33 +0000 Subject: --- doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn (limited to 'doc') diff --git a/doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn b/doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn new file mode 100644 index 00000000..e3e6e0f9 --- /dev/null +++ b/doc/forum/Privdata_corrupted_when_spinning_from_macOS.mdwn @@ -0,0 +1 @@ +I recently added a binary file as privdata (installed with `File.hasPrivContents`). When I `propellor --dump` the property on either Linux or macOS, the contents is correct. Spinning from Linux also works, but spinning from macOS installs a corrupt version of the file. The corruption looks like every valid UTF-8 sequence has been replaced with a single byte which is the lowest byte of the Unicode codepoint encoded by the sequence, so this must have something to do with encodings, but from staring at the source code I can't figure out what. The data from `--dump` is not corrupted which seems especially strange. -- cgit v1.2.3