ObjFW  Check-in [0c7c78f397]

Overview
Comment:utils/ofhttp: Improve Unicode detection on Windows
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0c7c78f3977e8fba3345345e21d1ef731d28ab42bf274371bc55e861e17cc9a0
User & Date: js on 2022-07-14 15:15:05
Other Links: manifest | tags
Context
2022-07-16
18:38
OFOpenSSLTLSStream: Make compatible with LibreSSL check-in: c765e8d058 user: js tags: trunk
2022-07-15
18:09
Merge trunk into branch "wii-u" check-in: a2973418de user: js tags: wii-u
2022-07-14
15:15
utils/ofhttp: Improve Unicode detection on Windows check-in: 0c7c78f397 user: js tags: trunk
2022-07-13
11:29
PLATFORMS.md: Fix missing comma check-in: 879294067e user: js tags: trunk
Changes

Modified utils/ofhttp/OFHTTP.m from [6f883db433] to [aa1d962c4e].

575
576
577
578
579
580
581



582

583
584
585
586
587
588
589
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593







+
+
+

+







		    @"prog", [OFApplication programName])];
		[OFApplication terminateWithStatus: 1];
	}

	if (_insecure)
		_HTTPClient.allowsInsecureRedirects = true;

#ifdef OF_WINDOWS
	_useUnicode = [OFSystemInfo isWindowsNT];
#else
	_useUnicode = ([OFLocale encoding] == OFStringEncodingUTF8);
#endif

	[self performSelector: @selector(downloadNextURL) afterDelay: 0];
}

-	(void)client: (OFHTTPClient *)client
  didCreateTLSStream: (OFTLSStream *)stream
	     request: (OFHTTPRequest *)request