From e3b666f8e044ea7775e27b507d90ff02c23947cd Mon Sep 17 00:00:00 2001 From: williameveretteggplant <44709277+williameveretteggplant@users.noreply.github.com> Date: Thu, 14 May 2026 16:16:22 -0600 Subject: [PATCH] Encode Property list with UTF8 instead of ASCII --- Source/NSPropertyList.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSPropertyList.m b/Source/NSPropertyList.m index 7e9aa76a7..89b2ab7fe 100644 --- a/Source/NSPropertyList.m +++ b/Source/NSPropertyList.m @@ -2532,7 +2532,7 @@ + (NSData *) dataWithPropertyList: (id)aPropertyList { OAppend(obj, loc, 0, step > 3 ? 3 : step, style, dest); } - tmp = [[NSString alloc] initWithData: dest encoding: NSASCIIStringEncoding]; + tmp = [[NSString alloc] initWithData: dest encoding: NSUTF8StringEncoding]; [*str appendString: tmp]; RELEASE(tmp); }