ObjFW  Diff

Differences From Artifact [48ca6830d9]:

To Artifact [9860c5f0d1]:


164
165
166
167
168
169
170
171
172
173



174
175
176
177
178
179
180
164
165
166
167
168
169
170



171
172
173
174
175
176
177
178
179
180







-
-
-
+
+
+







		[self release];
		@throw e;
	}

	return self;
}

- OF_initWithUTF8String: (const char*)UTF8String
		 length: (size_t)UTF8StringLength
		storage: (char*)storage
- (instancetype)OF_initWithUTF8String: (const char*)UTF8String
			       length: (size_t)UTF8StringLength
			      storage: (char*)storage
{
	self = [super init];

	@try {
		if (UTF8StringLength >= 3 &&
		    !memcmp(UTF8String, "\xEF\xBB\xBF", 3)) {
			UTF8String += 3;