PostgreSQL Source Code  git master
cyrillic_and_mic.c File Reference
#include "postgres.h"
#include "fmgr.h"
#include "mb/pg_wchar.h"
Include dependency graph for cyrillic_and_mic.c:

Go to the source code of this file.

Functions

 PG_FUNCTION_INFO_V1 (koi8r_to_mic)
 
 PG_FUNCTION_INFO_V1 (mic_to_koi8r)
 
 PG_FUNCTION_INFO_V1 (iso_to_mic)
 
 PG_FUNCTION_INFO_V1 (mic_to_iso)
 
 PG_FUNCTION_INFO_V1 (win1251_to_mic)
 
 PG_FUNCTION_INFO_V1 (mic_to_win1251)
 
 PG_FUNCTION_INFO_V1 (win866_to_mic)
 
 PG_FUNCTION_INFO_V1 (mic_to_win866)
 
 PG_FUNCTION_INFO_V1 (koi8r_to_win1251)
 
 PG_FUNCTION_INFO_V1 (win1251_to_koi8r)
 
 PG_FUNCTION_INFO_V1 (koi8r_to_win866)
 
 PG_FUNCTION_INFO_V1 (win866_to_koi8r)
 
 PG_FUNCTION_INFO_V1 (win866_to_win1251)
 
 PG_FUNCTION_INFO_V1 (win1251_to_win866)
 
 PG_FUNCTION_INFO_V1 (iso_to_koi8r)
 
 PG_FUNCTION_INFO_V1 (koi8r_to_iso)
 
 PG_FUNCTION_INFO_V1 (iso_to_win1251)
 
 PG_FUNCTION_INFO_V1 (win1251_to_iso)
 
 PG_FUNCTION_INFO_V1 (iso_to_win866)
 
 PG_FUNCTION_INFO_V1 (win866_to_iso)
 
Datum koi8r_to_mic (PG_FUNCTION_ARGS)
 
Datum mic_to_koi8r (PG_FUNCTION_ARGS)
 
Datum iso_to_mic (PG_FUNCTION_ARGS)
 
Datum mic_to_iso (PG_FUNCTION_ARGS)
 
Datum win1251_to_mic (PG_FUNCTION_ARGS)
 
Datum mic_to_win1251 (PG_FUNCTION_ARGS)
 
Datum win866_to_mic (PG_FUNCTION_ARGS)
 
Datum mic_to_win866 (PG_FUNCTION_ARGS)
 
Datum koi8r_to_win1251 (PG_FUNCTION_ARGS)
 
Datum win1251_to_koi8r (PG_FUNCTION_ARGS)
 
Datum koi8r_to_win866 (PG_FUNCTION_ARGS)
 
Datum win866_to_koi8r (PG_FUNCTION_ARGS)
 
Datum win866_to_win1251 (PG_FUNCTION_ARGS)
 
Datum win1251_to_win866 (PG_FUNCTION_ARGS)
 
Datum iso_to_koi8r (PG_FUNCTION_ARGS)
 
Datum koi8r_to_iso (PG_FUNCTION_ARGS)
 
Datum iso_to_win1251 (PG_FUNCTION_ARGS)
 
Datum win1251_to_iso (PG_FUNCTION_ARGS)
 
Datum iso_to_win866 (PG_FUNCTION_ARGS)
 
Datum win866_to_iso (PG_FUNCTION_ARGS)
 

Variables

 PG_MODULE_MAGIC
 
static const unsigned char iso2koi []
 
static const unsigned char koi2iso []
 
static const unsigned char win12512koi []
 
static const unsigned char koi2win1251 []
 
static const unsigned char win8662koi []
 
static const unsigned char koi2win866 []
 
static const unsigned char win8662win1251 []
 
static const unsigned char win12512win866 []
 
static const unsigned char iso2win1251 []
 
static const unsigned char win12512iso []
 
static const unsigned char iso2win866 []
 
static const unsigned char win8662iso []
 

Function Documentation

◆ iso_to_koi8r()

Datum iso_to_koi8r ( PG_FUNCTION_ARGS  )

Definition at line 531 of file cyrillic_and_mic.c.

532 {
533  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
534  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
535  int len = PG_GETARG_INT32(4);
536  bool noError = PG_GETARG_BOOL(5);
537  int converted;
538 
540 
541  converted = local2local(src, dest, len, PG_ISO_8859_5, PG_KOI8R, iso2koi, noError);
542 
543  PG_RETURN_INT32(converted);
544 }
int local2local(const unsigned char *l, unsigned char *p, int len, int src_encoding, int dest_encoding, const unsigned char *tab, bool noError)
Definition: conv.c:33
static const unsigned char iso2koi[]
#define PG_GETARG_CSTRING(n)
Definition: fmgr.h:277
#define PG_RETURN_INT32(x)
Definition: fmgr.h:354
#define PG_GETARG_INT32(n)
Definition: fmgr.h:269
#define PG_GETARG_BOOL(n)
Definition: fmgr.h:274
const void size_t len
@ PG_KOI8R
Definition: pg_wchar.h:248
@ PG_ISO_8859_5
Definition: pg_wchar.h:251
#define CHECK_ENCODING_CONVERSION_ARGS(srcencoding, destencoding)
Definition: pg_wchar.h:507

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, iso2koi, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_ISO_8859_5, PG_KOI8R, and PG_RETURN_INT32.

◆ iso_to_mic()

Datum iso_to_mic ( PG_FUNCTION_ARGS  )

Definition at line 339 of file cyrillic_and_mic.c.

340 {
341  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
342  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
343  int len = PG_GETARG_INT32(4);
344  bool noError = PG_GETARG_BOOL(5);
345  int converted;
346 
348 
349  converted = latin2mic_with_table(src, dest, len, LC_KOI8_R, PG_ISO_8859_5, iso2koi, noError);
350 
351  PG_RETURN_INT32(converted);
352 }
int latin2mic_with_table(const unsigned char *l, unsigned char *p, int len, int lc, int encoding, const unsigned char *tab, bool noError)
Definition: conv.c:194
#define LC_KOI8_R
Definition: pg_wchar.h:119
@ PG_MULE_INTERNAL
Definition: pg_wchar.h:233

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, iso2koi, latin2mic_with_table(), LC_KOI8_R, len, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_ISO_8859_5, PG_MULE_INTERNAL, and PG_RETURN_INT32.

◆ iso_to_win1251()

Datum iso_to_win1251 ( PG_FUNCTION_ARGS  )

Definition at line 563 of file cyrillic_and_mic.c.

564 {
565  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
566  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
567  int len = PG_GETARG_INT32(4);
568  bool noError = PG_GETARG_BOOL(5);
569  int converted;
570 
572 
573  converted = local2local(src, dest, len, PG_ISO_8859_5, PG_WIN1251, iso2win1251, noError);
574 
575  PG_RETURN_INT32(converted);
576 }
static const unsigned char iso2win1251[]
@ PG_WIN1251
Definition: pg_wchar.h:249

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, iso2win1251, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_ISO_8859_5, PG_RETURN_INT32, and PG_WIN1251.

◆ iso_to_win866()

Datum iso_to_win866 ( PG_FUNCTION_ARGS  )

Definition at line 595 of file cyrillic_and_mic.c.

596 {
597  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
598  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
599  int len = PG_GETARG_INT32(4);
600  bool noError = PG_GETARG_BOOL(5);
601  int converted;
602 
604 
605  converted = local2local(src, dest, len, PG_ISO_8859_5, PG_WIN866, iso2win866, noError);
606 
607  PG_RETURN_INT32(converted);
608 }
static const unsigned char iso2win866[]
@ PG_WIN866
Definition: pg_wchar.h:246

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, iso2win866, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_ISO_8859_5, PG_RETURN_INT32, and PG_WIN866.

◆ koi8r_to_iso()

Datum koi8r_to_iso ( PG_FUNCTION_ARGS  )

Definition at line 547 of file cyrillic_and_mic.c.

548 {
549  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
550  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
551  int len = PG_GETARG_INT32(4);
552  bool noError = PG_GETARG_BOOL(5);
553  int converted;
554 
556 
557  converted = local2local(src, dest, len, PG_KOI8R, PG_ISO_8859_5, koi2iso, noError);
558 
559  PG_RETURN_INT32(converted);
560 }
static const unsigned char koi2iso[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, koi2iso, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_ISO_8859_5, PG_KOI8R, and PG_RETURN_INT32.

◆ koi8r_to_mic()

Datum koi8r_to_mic ( PG_FUNCTION_ARGS  )

Definition at line 307 of file cyrillic_and_mic.c.

308 {
309  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
310  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
311  int len = PG_GETARG_INT32(4);
312  bool noError = PG_GETARG_BOOL(5);
313  int converted;
314 
316 
317  converted = latin2mic(src, dest, len, LC_KOI8_R, PG_KOI8R, noError);
318 
319  PG_RETURN_INT32(converted);
320 }
int latin2mic(const unsigned char *l, unsigned char *p, int len, int lc, int encoding, bool noError)
Definition: conv.c:89

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, latin2mic(), LC_KOI8_R, len, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_KOI8R, PG_MULE_INTERNAL, and PG_RETURN_INT32.

◆ koi8r_to_win1251()

Datum koi8r_to_win1251 ( PG_FUNCTION_ARGS  )

Definition at line 435 of file cyrillic_and_mic.c.

436 {
437  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
438  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
439  int len = PG_GETARG_INT32(4);
440  bool noError = PG_GETARG_BOOL(5);
441  int converted;
442 
444 
445  converted = local2local(src, dest, len, PG_KOI8R, PG_WIN1251, koi2win1251, noError);
446 
447  PG_RETURN_INT32(converted);
448 }
static const unsigned char koi2win1251[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, koi2win1251, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_KOI8R, PG_RETURN_INT32, and PG_WIN1251.

◆ koi8r_to_win866()

Datum koi8r_to_win866 ( PG_FUNCTION_ARGS  )

Definition at line 467 of file cyrillic_and_mic.c.

468 {
469  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
470  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
471  int len = PG_GETARG_INT32(4);
472  bool noError = PG_GETARG_BOOL(5);
473  int converted;
474 
476 
477  converted = local2local(src, dest, len, PG_KOI8R, PG_WIN866, koi2win866, noError);
478 
479  PG_RETURN_INT32(converted);
480 }
static const unsigned char koi2win866[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, koi2win866, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_KOI8R, PG_RETURN_INT32, and PG_WIN866.

◆ mic_to_iso()

Datum mic_to_iso ( PG_FUNCTION_ARGS  )

Definition at line 355 of file cyrillic_and_mic.c.

356 {
357  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
358  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
359  int len = PG_GETARG_INT32(4);
360  bool noError = PG_GETARG_BOOL(5);
361  int converted;
362 
364 
365  converted = mic2latin_with_table(src, dest, len, LC_KOI8_R, PG_ISO_8859_5, koi2iso, noError);
366 
367  PG_RETURN_INT32(converted);
368 }
int mic2latin_with_table(const unsigned char *mic, unsigned char *p, int len, int lc, int encoding, const unsigned char *tab, bool noError)
Definition: conv.c:257

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, koi2iso, LC_KOI8_R, len, mic2latin_with_table(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_ISO_8859_5, PG_MULE_INTERNAL, and PG_RETURN_INT32.

◆ mic_to_koi8r()

Datum mic_to_koi8r ( PG_FUNCTION_ARGS  )

Definition at line 323 of file cyrillic_and_mic.c.

324 {
325  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
326  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
327  int len = PG_GETARG_INT32(4);
328  bool noError = PG_GETARG_BOOL(5);
329  int converted;
330 
332 
333  converted = mic2latin(src, dest, len, LC_KOI8_R, PG_KOI8R, noError);
334 
335  PG_RETURN_INT32(converted);
336 }
int mic2latin(const unsigned char *mic, unsigned char *p, int len, int lc, int encoding, bool noError)
Definition: conv.c:127

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, LC_KOI8_R, len, mic2latin(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_KOI8R, PG_MULE_INTERNAL, and PG_RETURN_INT32.

◆ mic_to_win1251()

Datum mic_to_win1251 ( PG_FUNCTION_ARGS  )

Definition at line 387 of file cyrillic_and_mic.c.

388 {
389  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
390  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
391  int len = PG_GETARG_INT32(4);
392  bool noError = PG_GETARG_BOOL(5);
393  int converted;
394 
396 
397  converted = mic2latin_with_table(src, dest, len, LC_KOI8_R, PG_WIN1251, koi2win1251, noError);
398 
399  PG_RETURN_INT32(converted);
400 }

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, koi2win1251, LC_KOI8_R, len, mic2latin_with_table(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, PG_RETURN_INT32, and PG_WIN1251.

◆ mic_to_win866()

Datum mic_to_win866 ( PG_FUNCTION_ARGS  )

Definition at line 419 of file cyrillic_and_mic.c.

420 {
421  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
422  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
423  int len = PG_GETARG_INT32(4);
424  bool noError = PG_GETARG_BOOL(5);
425  int converted;
426 
428 
429  converted = mic2latin_with_table(src, dest, len, LC_KOI8_R, PG_WIN866, koi2win866, noError);
430 
431  PG_RETURN_INT32(converted);
432 }

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, koi2win866, LC_KOI8_R, len, mic2latin_with_table(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, PG_RETURN_INT32, and PG_WIN866.

◆ PG_FUNCTION_INFO_V1() [1/20]

PG_FUNCTION_INFO_V1 ( iso_to_koi8r  )

◆ PG_FUNCTION_INFO_V1() [2/20]

PG_FUNCTION_INFO_V1 ( iso_to_mic  )

◆ PG_FUNCTION_INFO_V1() [3/20]

PG_FUNCTION_INFO_V1 ( iso_to_win1251  )

◆ PG_FUNCTION_INFO_V1() [4/20]

PG_FUNCTION_INFO_V1 ( iso_to_win866  )

◆ PG_FUNCTION_INFO_V1() [5/20]

PG_FUNCTION_INFO_V1 ( koi8r_to_iso  )

◆ PG_FUNCTION_INFO_V1() [6/20]

PG_FUNCTION_INFO_V1 ( koi8r_to_mic  )

◆ PG_FUNCTION_INFO_V1() [7/20]

PG_FUNCTION_INFO_V1 ( koi8r_to_win1251  )

◆ PG_FUNCTION_INFO_V1() [8/20]

PG_FUNCTION_INFO_V1 ( koi8r_to_win866  )

◆ PG_FUNCTION_INFO_V1() [9/20]

PG_FUNCTION_INFO_V1 ( mic_to_iso  )

◆ PG_FUNCTION_INFO_V1() [10/20]

PG_FUNCTION_INFO_V1 ( mic_to_koi8r  )

◆ PG_FUNCTION_INFO_V1() [11/20]

PG_FUNCTION_INFO_V1 ( mic_to_win1251  )

◆ PG_FUNCTION_INFO_V1() [12/20]

PG_FUNCTION_INFO_V1 ( mic_to_win866  )

◆ PG_FUNCTION_INFO_V1() [13/20]

PG_FUNCTION_INFO_V1 ( win1251_to_iso  )

◆ PG_FUNCTION_INFO_V1() [14/20]

PG_FUNCTION_INFO_V1 ( win1251_to_koi8r  )

◆ PG_FUNCTION_INFO_V1() [15/20]

PG_FUNCTION_INFO_V1 ( win1251_to_mic  )

◆ PG_FUNCTION_INFO_V1() [16/20]

PG_FUNCTION_INFO_V1 ( win1251_to_win866  )

◆ PG_FUNCTION_INFO_V1() [17/20]

PG_FUNCTION_INFO_V1 ( win866_to_iso  )

◆ PG_FUNCTION_INFO_V1() [18/20]

PG_FUNCTION_INFO_V1 ( win866_to_koi8r  )

◆ PG_FUNCTION_INFO_V1() [19/20]

PG_FUNCTION_INFO_V1 ( win866_to_mic  )

◆ PG_FUNCTION_INFO_V1() [20/20]

PG_FUNCTION_INFO_V1 ( win866_to_win1251  )

◆ win1251_to_iso()

Datum win1251_to_iso ( PG_FUNCTION_ARGS  )

Definition at line 579 of file cyrillic_and_mic.c.

580 {
581  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
582  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
583  int len = PG_GETARG_INT32(4);
584  bool noError = PG_GETARG_BOOL(5);
585  int converted;
586 
588 
589  converted = local2local(src, dest, len, PG_WIN1251, PG_ISO_8859_5, win12512iso, noError);
590 
591  PG_RETURN_INT32(converted);
592 }
static const unsigned char win12512iso[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_ISO_8859_5, PG_RETURN_INT32, PG_WIN1251, and win12512iso.

◆ win1251_to_koi8r()

Datum win1251_to_koi8r ( PG_FUNCTION_ARGS  )

Definition at line 451 of file cyrillic_and_mic.c.

452 {
453  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
454  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
455  int len = PG_GETARG_INT32(4);
456  bool noError = PG_GETARG_BOOL(5);
457  int converted;
458 
460 
461  converted = local2local(src, dest, len, PG_WIN1251, PG_KOI8R, win12512koi, noError);
462 
463  PG_RETURN_INT32(converted);
464 }
static const unsigned char win12512koi[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_KOI8R, PG_RETURN_INT32, PG_WIN1251, and win12512koi.

◆ win1251_to_mic()

Datum win1251_to_mic ( PG_FUNCTION_ARGS  )

Definition at line 371 of file cyrillic_and_mic.c.

372 {
373  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
374  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
375  int len = PG_GETARG_INT32(4);
376  bool noError = PG_GETARG_BOOL(5);
377  int converted;
378 
380 
381  converted = latin2mic_with_table(src, dest, len, LC_KOI8_R, PG_WIN1251, win12512koi, noError);
382 
383  PG_RETURN_INT32(converted);
384 }

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, latin2mic_with_table(), LC_KOI8_R, len, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, PG_RETURN_INT32, PG_WIN1251, and win12512koi.

◆ win1251_to_win866()

Datum win1251_to_win866 ( PG_FUNCTION_ARGS  )

Definition at line 515 of file cyrillic_and_mic.c.

516 {
517  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
518  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
519  int len = PG_GETARG_INT32(4);
520  bool noError = PG_GETARG_BOOL(5);
521  int converted;
522 
524 
525  converted = local2local(src, dest, len, PG_WIN1251, PG_WIN866, win12512win866, noError);
526 
527  PG_RETURN_INT32(converted);
528 }
static const unsigned char win12512win866[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_RETURN_INT32, PG_WIN1251, PG_WIN866, and win12512win866.

◆ win866_to_iso()

Datum win866_to_iso ( PG_FUNCTION_ARGS  )

Definition at line 611 of file cyrillic_and_mic.c.

612 {
613  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
614  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
615  int len = PG_GETARG_INT32(4);
616  bool noError = PG_GETARG_BOOL(5);
617  int converted;
618 
620 
621  converted = local2local(src, dest, len, PG_WIN866, PG_ISO_8859_5, win8662iso, noError);
622 
623  PG_RETURN_INT32(converted);
624 }
static const unsigned char win8662iso[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_ISO_8859_5, PG_RETURN_INT32, PG_WIN866, and win8662iso.

◆ win866_to_koi8r()

Datum win866_to_koi8r ( PG_FUNCTION_ARGS  )

Definition at line 483 of file cyrillic_and_mic.c.

484 {
485  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
486  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
487  int len = PG_GETARG_INT32(4);
488  bool noError = PG_GETARG_BOOL(5);
489  int converted;
490 
492 
493  converted = local2local(src, dest, len, PG_WIN866, PG_KOI8R, win8662koi, noError);
494 
495  PG_RETURN_INT32(converted);
496 }
static const unsigned char win8662koi[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_KOI8R, PG_RETURN_INT32, PG_WIN866, and win8662koi.

◆ win866_to_mic()

Datum win866_to_mic ( PG_FUNCTION_ARGS  )

Definition at line 403 of file cyrillic_and_mic.c.

404 {
405  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
406  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
407  int len = PG_GETARG_INT32(4);
408  bool noError = PG_GETARG_BOOL(5);
409  int converted;
410 
412 
413  converted = latin2mic_with_table(src, dest, len, LC_KOI8_R, PG_WIN866, win8662koi, noError);
414 
415  PG_RETURN_INT32(converted);
416 }

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, latin2mic_with_table(), LC_KOI8_R, len, PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_MULE_INTERNAL, PG_RETURN_INT32, PG_WIN866, and win8662koi.

◆ win866_to_win1251()

Datum win866_to_win1251 ( PG_FUNCTION_ARGS  )

Definition at line 499 of file cyrillic_and_mic.c.

500 {
501  unsigned char *src = (unsigned char *) PG_GETARG_CSTRING(2);
502  unsigned char *dest = (unsigned char *) PG_GETARG_CSTRING(3);
503  int len = PG_GETARG_INT32(4);
504  bool noError = PG_GETARG_BOOL(5);
505  int converted;
506 
508 
509  converted = local2local(src, dest, len, PG_WIN866, PG_WIN1251, win8662win1251, noError);
510 
511  PG_RETURN_INT32(converted);
512 }
static const unsigned char win8662win1251[]

References CHECK_ENCODING_CONVERSION_ARGS, generate_unaccent_rules::dest, len, local2local(), PG_GETARG_BOOL, PG_GETARG_CSTRING, PG_GETARG_INT32, PG_RETURN_INT32, PG_WIN1251, PG_WIN866, and win8662win1251.

Variable Documentation

◆ iso2koi

const unsigned char iso2koi[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xB3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xE1, 0xE2, 0xF7, 0xE7, 0xE4, 0xE5, 0xF6, 0xFA,
0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF0,
0xF2, 0xF3, 0xF4, 0xF5, 0xE6, 0xE8, 0xE3, 0xFE,
0xFB, 0xFD, 0xFF, 0xF9, 0xF8, 0xFC, 0xE0, 0xF1,
0xC1, 0xC2, 0xD7, 0xC7, 0xC4, 0xC5, 0xD6, 0xDA,
0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0,
0xD2, 0xD3, 0xD4, 0xD5, 0xC6, 0xC8, 0xC3, 0xDE,
0xDB, 0xDD, 0xDF, 0xD9, 0xD8, 0xDC, 0xC0, 0xD1,
0x00, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 66 of file cyrillic_and_mic.c.

Referenced by iso_to_koi8r(), and iso_to_mic().

◆ iso2win1251

const unsigned char iso2win1251[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xA8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7,
0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF,
0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7,
0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF,
0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7,
0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF,
0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7,
0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF,
0x00, 0xB8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 226 of file cyrillic_and_mic.c.

Referenced by iso_to_win1251().

◆ iso2win866

const unsigned char iso2win866[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F,
0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
0x98, 0x99, 0x9A, 0x9B, 0x9C, 0x9D, 0x9E, 0x9F,
0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7,
0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF,
0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7,
0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF,
0x00, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 266 of file cyrillic_and_mic.c.

Referenced by iso_to_win866().

◆ koi2iso

const unsigned char koi2iso[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xF1, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xA1, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xEE, 0xD0, 0xD1, 0xE6, 0xD4, 0xD5, 0xE4, 0xD3,
0xE5, 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE,
0xDF, 0xEF, 0xE0, 0xE1, 0xE2, 0xE3, 0xD6, 0xD2,
0xEC, 0xEB, 0xD7, 0xE8, 0xED, 0xE9, 0xE7, 0xEA,
0xCE, 0xB0, 0xB1, 0xC6, 0xB4, 0xB5, 0xC4, 0xB3,
0xC5, 0xB8, 0xB9, 0xBA, 0xBB, 0xBC, 0xBD, 0xBE,
0xBF, 0xCF, 0xC0, 0xC1, 0xC2, 0xC3, 0xB6, 0xB2,
0xCC, 0xCB, 0xB7, 0xC8, 0xCD, 0xC9, 0xC7, 0xCA
}

Definition at line 86 of file cyrillic_and_mic.c.

Referenced by koi8r_to_iso(), and mic_to_iso().

◆ koi2win1251

const unsigned char koi2win1251[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xB8, 0xBA, 0x00, 0xB3, 0xBF,
0x00, 0x00, 0x00, 0x00, 0x00, 0xB4, 0x00, 0x00,
0x00, 0x00, 0x00, 0xA8, 0xAA, 0x00, 0xB2, 0xAF,
0x00, 0x00, 0x00, 0x00, 0x00, 0xA5, 0x00, 0x00,
0xFE, 0xE0, 0xE1, 0xF6, 0xE4, 0xE5, 0xF4, 0xE3,
0xF5, 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE,
0xEF, 0xFF, 0xF0, 0xF1, 0xF2, 0xF3, 0xE6, 0xE2,
0xFC, 0xFB, 0xE7, 0xF8, 0xFD, 0xF9, 0xF7, 0xFA,
0xDE, 0xC0, 0xC1, 0xD6, 0xC4, 0xC5, 0xD4, 0xC3,
0xD5, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE,
0xCF, 0xDF, 0xD0, 0xD1, 0xD2, 0xD3, 0xC6, 0xC2,
0xDC, 0xDB, 0xC7, 0xD8, 0xDD, 0xD9, 0xD7, 0xDA
}

Definition at line 126 of file cyrillic_and_mic.c.

Referenced by koi8r_to_win1251(), and mic_to_win1251().

◆ koi2win866

const unsigned char koi2win866[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xF1, 0xF3, 0x00, 0xF9, 0xF5,
0x00, 0x00, 0x00, 0x00, 0x00, 0xAD, 0x00, 0x00,
0x00, 0x00, 0x00, 0xF0, 0xF2, 0x00, 0xF8, 0xF4,
0x00, 0x00, 0x00, 0x00, 0x00, 0xBD, 0x00, 0x00,
0xEE, 0xA0, 0xA1, 0xE6, 0xA4, 0xA5, 0xE4, 0xA3,
0xE5, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE,
0xAF, 0xEF, 0xE0, 0xE1, 0xE2, 0xE3, 0xA6, 0xA2,
0xEC, 0xEB, 0xA7, 0xE8, 0xED, 0xE9, 0xE7, 0xEA,
0x9E, 0x80, 0x81, 0x96, 0x84, 0x85, 0x94, 0x83,
0x95, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E,
0x8F, 0x9F, 0x90, 0x91, 0x92, 0x93, 0x86, 0x82,
0x9C, 0x9B, 0x87, 0x98, 0x9D, 0x99, 0x97, 0x9A
}

Definition at line 166 of file cyrillic_and_mic.c.

Referenced by koi8r_to_win866(), and mic_to_win866().

◆ PG_MODULE_MAGIC

PG_MODULE_MAGIC

Definition at line 18 of file cyrillic_and_mic.c.

◆ win12512iso

const unsigned char win12512iso[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xA1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0xB7,
0xB8, 0xB9, 0xBA, 0xBB, 0xBC, 0xBD, 0xBE, 0xBF,
0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7,
0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF,
0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7,
0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF,
0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7,
0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF
}

Definition at line 246 of file cyrillic_and_mic.c.

Referenced by win1251_to_iso().

◆ win12512koi

const unsigned char win12512koi[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xBD, 0x00, 0x00,
0xB3, 0x00, 0xB4, 0x00, 0x00, 0x00, 0x00, 0xB7,
0x00, 0x00, 0xB6, 0xA6, 0xAD, 0x00, 0x00, 0x00,
0xA3, 0x00, 0xA4, 0x00, 0x00, 0x00, 0x00, 0xA7,
0xE1, 0xE2, 0xF7, 0xE7, 0xE4, 0xE5, 0xF6, 0xFA,
0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF0,
0xF2, 0xF3, 0xF4, 0xF5, 0xE6, 0xE8, 0xE3, 0xFE,
0xFB, 0xFD, 0xFF, 0xF9, 0xF8, 0xFC, 0xE0, 0xF1,
0xC1, 0xC2, 0xD7, 0xC7, 0xC4, 0xC5, 0xD6, 0xDA,
0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0,
0xD2, 0xD3, 0xD4, 0xD5, 0xC6, 0xC8, 0xC3, 0xDE,
0xDB, 0xDD, 0xDF, 0xD9, 0xD8, 0xDC, 0xC0, 0xD1
}

Definition at line 106 of file cyrillic_and_mic.c.

Referenced by win1251_to_koi8r(), and win1251_to_mic().

◆ win12512win866

const unsigned char win12512win866[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xBD, 0x00, 0x00,
0xF0, 0x00, 0xF2, 0x00, 0x00, 0x00, 0x00, 0xF4,
0x00, 0x00, 0xF8, 0xF9, 0xAD, 0x00, 0x00, 0x00,
0xF1, 0x00, 0xF3, 0x00, 0x00, 0x00, 0x00, 0xF5,
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F,
0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
0x98, 0x99, 0x9A, 0x9B, 0x9C, 0x9D, 0x9E, 0x9F,
0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7,
0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF,
0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7,
0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF
}

Definition at line 206 of file cyrillic_and_mic.c.

Referenced by win1251_to_win866().

◆ win8662iso

const unsigned char win8662iso[]
static
Initial value:
= {
0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0xB7,
0xB8, 0xB9, 0xBA, 0xBB, 0xBC, 0xBD, 0xBE, 0xBF,
0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7,
0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF,
0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7,
0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7,
0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF,
0xA1, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 286 of file cyrillic_and_mic.c.

Referenced by win866_to_iso().

◆ win8662koi

const unsigned char win8662koi[]
static
Initial value:
= {
0xE1, 0xE2, 0xF7, 0xE7, 0xE4, 0xE5, 0xF6, 0xFA,
0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF0,
0xF2, 0xF3, 0xF4, 0xF5, 0xE6, 0xE8, 0xE3, 0xFE,
0xFB, 0xFD, 0xFF, 0xF9, 0xF8, 0xFC, 0xE0, 0xF1,
0xC1, 0xC2, 0xD7, 0xC7, 0xC4, 0xC5, 0xD6, 0xDA,
0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xBD, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xD2, 0xD3, 0xD4, 0xD5, 0xC6, 0xC8, 0xC3, 0xDE,
0xDB, 0xDD, 0xDF, 0xD9, 0xD8, 0xDC, 0xC0, 0xD1,
0xB3, 0xA3, 0xB4, 0xA4, 0xB7, 0xA7, 0x00, 0x00,
0xB6, 0xA6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 146 of file cyrillic_and_mic.c.

Referenced by win866_to_koi8r(), and win866_to_mic().

◆ win8662win1251

const unsigned char win8662win1251[]
static
Initial value:
= {
0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7,
0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF,
0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7,
0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF,
0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7,
0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xA5, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7,
0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF,
0xA8, 0xB8, 0xAA, 0xBA, 0xAF, 0xBF, 0x00, 0x00,
0xB2, 0xB3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 186 of file cyrillic_and_mic.c.

Referenced by win866_to_win1251().