ObjFW  Diff

Differences From Artifact [0c416bfeda]:

  • File src/encodings/koi8-u.m — part of check-in [7e5c81e186] at 2018-01-03 19:49:46 on branch trunk — Update copyright notice (user: js size: 5840)

To Artifact [6d44fcd016]:

  • File src/encodings/koi8-u.m — part of check-in [505137f25f] at 2018-02-25 04:31:30 on branch trunk — Reintroduce of_char{16,32}_t There is no reliable way to check if C++ already defined those, as Clang now defines char{16,32}_t even when it is not in C++ 11 mode. So we cannot check if we are not in C++ 11 and then define them and otherwise rely on the C++ 11 types. (user: js size: 5843)

17
18
19
20
21
22
23
24

25
26
27
28
29
30
31
17
18
19
20
21
22
23

24
25
26
27
28
29
30
31







-
+








#include "config.h"

#import "OFString.h"

#import "common.h"

const char16_t of_koi8_u_table[] = {
const of_char16_t of_koi8_u_table[] = {
	0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524,
	0x252C, 0x2534, 0x253C, 0x2580, 0x2584, 0x2588, 0x258C, 0x2590,
	0x2591, 0x2592, 0x2593, 0x2320, 0x25A0, 0x2219, 0x221A, 0x2248,
	0x2264,	0x2265, 0x00A0, 0x2321, 0x00B0, 0x00B2, 0x00B7, 0x00F7,
	0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457,
	0x2557, 0x2558, 0x2559, 0x255A, 0x255B, 0x0491, 0x255D, 0x255E,
	0x255F, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407,