35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#import "OFOutOfMemoryException.h"
#import "OFOutOfRangeException.h"
#import "of_asprintf.h"
#import "unicode.h"
extern const of_char16_t of_iso_8859_2[128];
extern const of_char16_t of_iso_8859_15[128];
extern const of_char16_t of_windows_1251[128];
extern const of_char16_t of_windows_1252[128];
extern const of_char16_t of_codepage_437[128];
extern const of_char16_t of_codepage_850[128];
extern const of_char16_t of_codepage_858[128];
extern const of_char16_t of_mac_roman[128];
|
>
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#import "OFOutOfMemoryException.h"
#import "OFOutOfRangeException.h"
#import "of_asprintf.h"
#import "unicode.h"
extern const of_char16_t of_iso_8859_2[128];
extern const of_char16_t of_iso_8859_3[128];
extern const of_char16_t of_iso_8859_15[128];
extern const of_char16_t of_windows_1251[128];
extern const of_char16_t of_windows_1252[128];
extern const of_char16_t of_codepage_437[128];
extern const of_char16_t of_codepage_850[128];
extern const of_char16_t of_codepage_858[128];
extern const of_char16_t of_mac_roman[128];
|
293
294
295
296
297
298
299
300
301
302
303
304
305
306
|
}
switch (encoding) {
#ifdef HAVE_ISO_8859_2
case OF_STRING_ENCODING_ISO_8859_2:
table = of_iso_8859_2;
break;
#endif
#ifdef HAVE_ISO_8859_15
case OF_STRING_ENCODING_ISO_8859_15:
table = of_iso_8859_15;
break;
#endif
#ifdef HAVE_WINDOWS_1251
|
>
>
>
>
>
|
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
|
}
switch (encoding) {
#ifdef HAVE_ISO_8859_2
case OF_STRING_ENCODING_ISO_8859_2:
table = of_iso_8859_2;
break;
#endif
#ifdef HAVE_ISO_8859_3
case OF_STRING_ENCODING_ISO_8859_3:
table = of_iso_8859_3;
break;
#endif
#ifdef HAVE_ISO_8859_15
case OF_STRING_ENCODING_ISO_8859_15:
table = of_iso_8859_15;
break;
#endif
#ifdef HAVE_WINDOWS_1251
|