mirror of https://github.com/postgres/postgres
Add missing Unicode multibyte files.
This commit is contained in:
parent
92288a1cf9
commit
e6227fd0ec
|
@ -0,0 +1,112 @@
|
|||
#! /usr/bin/perl
|
||||
#
|
||||
# Copyright 2001 by PostgreSQL Global Development Group
|
||||
#
|
||||
# $Id: UCS_to_GBK.pl,v 1.1 2002/03/06 06:12:55 momjian Exp $
|
||||
#
|
||||
#
|
||||
# Generate UTF-8 <--> GBK code conversion tables from
|
||||
# map files provided by Unicode organization.
|
||||
# Unfortunately it is prohibited by the organization
|
||||
# to distribute the map files. So if you try to use this script,
|
||||
# you have to obtain CP936.TXT from
|
||||
# the organization's ftp site.
|
||||
#
|
||||
# CP936.TXT format:
|
||||
# GBK code in hex
|
||||
# UCS-2 code in hex
|
||||
# # and Unicode name (not used in this script)
|
||||
|
||||
require "ucs2utf.pl";
|
||||
|
||||
# first generate UTF-8 --> GBK table
|
||||
|
||||
$in_file = "CP936.TXT";
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80 && $ucs >= 0x0080 ){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $utf } ne "" ){
|
||||
printf STDERR "Warning: duplicate unicode: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
|
||||
$array{ $utf } = $code;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
#
|
||||
# first, generate UTF8 --> WIN949 table
|
||||
#
|
||||
|
||||
$file = "utf8_to_gbk.map";
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_utf_to_local ULmapGBK[ $count ] = {\n";
|
||||
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$code = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $code;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $code;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
||||
|
||||
#
|
||||
# then generate WIN936 --> UTF8 table
|
||||
#
|
||||
reset 'array';
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80 && $ucs >= 0x0080 ){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $code } ne "" ){
|
||||
printf STDERR "Warning: duplicate code: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
|
||||
$array{ $code } = $utf;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
$file = "gbk_to_utf8.map";
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_local_to_utf LUmapGBK[ $count ] = {\n";
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$utf = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $utf;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $utf;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
|
@ -0,0 +1,111 @@
|
|||
#! /usr/bin/perl
|
||||
#
|
||||
# Copyright 2001 by PostgreSQL Global Development Group
|
||||
#
|
||||
# $Id: UCS_to_JOHAB.pl,v 1.1 2002/03/06 06:12:55 momjian Exp $
|
||||
#
|
||||
# Generate UTF-8 <--> JOHAB code conversion tables from
|
||||
# map files provided by Unicode organization.
|
||||
# Unfortunately it is prohibited by the organization
|
||||
# to distribute the map files. So if you try to use this script,
|
||||
# you have to obtain JOHAB.TXT from
|
||||
# the organization's ftp site.
|
||||
#
|
||||
# JOHAB.TXT format:
|
||||
# JOHAB code in hex
|
||||
# UCS-2 code in hex
|
||||
# # and Unicode name (not used in this script)
|
||||
|
||||
require "ucs2utf.pl";
|
||||
|
||||
# first generate UTF-8 --> JOHAB table
|
||||
|
||||
$in_file = "JOHAB.TXT";
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80 && $ucs >= 0x0080 ){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $utf } ne "" ){
|
||||
printf STDERR "Warning: duplicate unicode: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
|
||||
$array{ $utf } = $code;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
#
|
||||
# first, generate UTF8 --> JOHAB table
|
||||
#
|
||||
|
||||
$file = "utf8_to_johab.map";
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_utf_to_local ULmapJOHAB[ $count ] = {\n";
|
||||
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$code = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $code;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $code;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
||||
|
||||
#
|
||||
# then generate JOHAB --> UTF8 table
|
||||
#
|
||||
reset 'array';
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80 && $ucs >= 0x0080 ){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $code } ne "" ){
|
||||
printf STDERR "Warning: duplicate code: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
|
||||
$array{ $code } = $utf;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
$file = "johab_to_utf8.map";
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_local_to_utf LUmapJOHAB[ $count ] = {\n";
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$utf = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $utf;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $utf;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
|
@ -0,0 +1,111 @@
|
|||
#! /usr/bin/perl
|
||||
#
|
||||
# Copyright 2001 by PostgreSQL Global Development Group
|
||||
#
|
||||
# $Id: UCS_to_UHC.pl,v 1.1 2002/03/06 06:12:55 momjian Exp $
|
||||
#
|
||||
# Generate UTF-8 <--> BIG5 code conversion tables from
|
||||
# map files provided by Unicode organization.
|
||||
# Unfortunately it is prohibited by the organization
|
||||
# to distribute the map files. So if you try to use this script,
|
||||
# you have to obtain OLD5601.TXT from
|
||||
# the organization's ftp site.
|
||||
#
|
||||
# CP949.TXT format:
|
||||
# UHC code in hex
|
||||
# UCS-2 code in hex
|
||||
# # and Unicode name (not used in this script)
|
||||
|
||||
require "ucs2utf.pl";
|
||||
|
||||
# first generate UTF-8 --> WIN949 table
|
||||
|
||||
$in_file = "CP949.TXT";
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80 && $ucs >= 0x0080 ){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $utf } ne "" ){
|
||||
printf STDERR "Warning: duplicate unicode: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
|
||||
$array{ $utf } = $code;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
#
|
||||
# first, generate UTF8 --> UHC table
|
||||
#
|
||||
|
||||
$file = "utf8_to_uhc.map";
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_utf_to_local ULmapUHC[ $count ] = {\n";
|
||||
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$code = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $code;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $code;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
||||
|
||||
#
|
||||
# then generate UHC --> UTF8 table
|
||||
#
|
||||
reset 'array';
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80 && $ucs >= 0x0080 ){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $code } ne "" ){
|
||||
printf STDERR "Warning: duplicate code: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
|
||||
$array{ $code } = $utf;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
$file = "uhc_to_utf8.map";
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_local_to_utf LUmapUHC[ $count ] = {\n";
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$utf = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $utf;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $utf;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
|
@ -0,0 +1,111 @@
|
|||
#! /usr/bin/perl
|
||||
#
|
||||
# Copyright 2001 by PostgreSQL Global Development Group
|
||||
#
|
||||
# $Id: UCS_to_WIN874.pl,v 1.1 2002/03/06 06:12:55 momjian Exp $
|
||||
#
|
||||
# Generate UTF-8 <--> WIN874 code conversion tables from
|
||||
# map files provided by Unicode organization.
|
||||
# Unfortunately it is prohibited by the organization
|
||||
# to distribute the map files. So if you try to use this script,
|
||||
# you have to obtain OLD5601.TXT from
|
||||
# the organization's ftp site.
|
||||
#
|
||||
# OLD5601.TXT format:
|
||||
# KSC5601 code in hex
|
||||
# UCS-2 code in hex
|
||||
# # and Unicode name (not used in this script)
|
||||
|
||||
require "ucs2utf.pl";
|
||||
|
||||
# first generate UTF-8 --> WIN949 table
|
||||
|
||||
$in_file = "CP874.TXT";
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80 && $ucs >= 0x0080 ){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $utf } ne "" ){
|
||||
printf STDERR "Warning: duplicate unicode: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
|
||||
$array{ $utf } = $code;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
#
|
||||
# first, generate UTF8 --> WIN874 table
|
||||
#
|
||||
|
||||
$file = "utf8_to_win874.map";
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_utf_to_local ULmapWIN874[ $count ] = {\n";
|
||||
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$code = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $code;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $code;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
||||
|
||||
#
|
||||
# then generate WIN874 --> UTF8 table
|
||||
#
|
||||
reset 'array';
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80 && $ucs >= 0x0080 ){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $code } ne "" ){
|
||||
printf STDERR "Warning: duplicate code: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
|
||||
$array{ $code } = $utf;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
$file = "win874_to_utf8.map";
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_local_to_utf LUmapWIN874[ $count ] = {\n";
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$utf = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $utf;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $utf;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
|
@ -0,0 +1,113 @@
|
|||
#! /usr/bin/perl
|
||||
#
|
||||
# Copyright 2001 by PostgreSQL Global Development Group
|
||||
#
|
||||
# $Id: UCS_to_WINX.pl,v 1.1 2002/03/06 06:12:56 momjian Exp $
|
||||
#
|
||||
# Generate UTF-8 <--> WINX code conversion tables from
|
||||
# map files provided by Unicode organization.
|
||||
# Unfortunately it is prohibited by the organization
|
||||
# to distribute the map files. So if you try to use this script,
|
||||
# you have to obtain "8859-[2-5].TXT" from the organization's ftp site.
|
||||
# We assume the file include three tab-separated columns:
|
||||
# ISO/IEC 8859 code in hex
|
||||
# UCS-2 code in hex
|
||||
# # and Unicode name (not used in this script)
|
||||
|
||||
require "ucs2utf.pl";
|
||||
%filename = ('WIN1256'=>'CP1256.TXT',
|
||||
'WIN1258'=>'CP1258.TXT',
|
||||
'WIN874'=>'CP874.TXT',
|
||||
'WIN1250'=>'CP1250.TXT');
|
||||
@charsets = ('WIN1256','WIN1258','WIN874','WIN1250');
|
||||
foreach $charset (@charsets) {
|
||||
|
||||
#
|
||||
# first, generate UTF8->ISO8859 table
|
||||
#
|
||||
$in_file = $filename{$charset};
|
||||
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
reset 'array';
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if( $code >= 0x80){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $utf } ne "" ){
|
||||
printf STDERR "Warning: duplicate unicode: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
$array{ $utf } = $code;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
$file = lower("utf8_to_${charset}.map");
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_utf_to_local ULmap_${charset}[ $count ] = {\n";
|
||||
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$code = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $code;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $code;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
||||
|
||||
#
|
||||
# then generate ISO885->UTF8 table
|
||||
#
|
||||
open( FILE, $in_file ) || die( "cannot open $in_file" );
|
||||
|
||||
reset 'array';
|
||||
|
||||
while( <FILE> ){
|
||||
chop;
|
||||
if( /^#/ ){
|
||||
next;
|
||||
}
|
||||
( $c, $u, $rest ) = split;
|
||||
$ucs = hex($u);
|
||||
$code = hex($c);
|
||||
if($code >= 0x80){
|
||||
$utf = &ucs2utf($ucs);
|
||||
if( $array{ $utf } ne "" ){
|
||||
printf STDERR "Warning: duplicate unicode: %04x\n",$ucs;
|
||||
next;
|
||||
}
|
||||
$count++;
|
||||
$array{ $code } = $utf;
|
||||
}
|
||||
}
|
||||
close( FILE );
|
||||
|
||||
$file = lower("${charset}_to_utf8.map");
|
||||
open( FILE, "> $file" ) || die( "cannot open $file" );
|
||||
print FILE "static pg_local_to_utf LUmap${charset}[ $count ] = {\n";
|
||||
for $index ( sort {$a <=> $b} keys( %array ) ){
|
||||
$utf = $array{ $index };
|
||||
$count--;
|
||||
if( $count == 0 ){
|
||||
printf FILE " {0x%04x, 0x%04x}\n", $index, $utf;
|
||||
} else {
|
||||
printf FILE " {0x%04x, 0x%04x},\n", $index, $utf;
|
||||
}
|
||||
}
|
||||
|
||||
print FILE "};\n";
|
||||
close(FILE);
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,130 @@
|
|||
static pg_local_to_utf LUmapTCVN[ 128 ] = {
|
||||
{0x0080, 0xe282ac},
|
||||
{0x0081, 0x0000},
|
||||
{0x0082, 0xe2809a},
|
||||
{0x0083, 0xc692},
|
||||
{0x0084, 0xe2809e},
|
||||
{0x0085, 0xe280a6},
|
||||
{0x0086, 0xe280a0},
|
||||
{0x0087, 0xe280a1},
|
||||
{0x0088, 0xcb86},
|
||||
{0x0089, 0xe280b0},
|
||||
{0x008a, 0x0000},
|
||||
{0x008b, 0xe280b9},
|
||||
{0x008c, 0xc592},
|
||||
{0x008d, 0x0000},
|
||||
{0x008e, 0x0000},
|
||||
{0x008f, 0x0000},
|
||||
{0x0090, 0x0000},
|
||||
{0x0091, 0xe28098},
|
||||
{0x0092, 0xe28099},
|
||||
{0x0093, 0xe2809c},
|
||||
{0x0094, 0xe2809d},
|
||||
{0x0095, 0xe280a2},
|
||||
{0x0096, 0xe28093},
|
||||
{0x0097, 0xe28094},
|
||||
{0x0098, 0xcb9c},
|
||||
{0x0099, 0xe284a2},
|
||||
{0x009a, 0x0000},
|
||||
{0x009b, 0xe280ba},
|
||||
{0x009c, 0xc593},
|
||||
{0x009d, 0x0000},
|
||||
{0x009e, 0x0000},
|
||||
{0x009f, 0xc5b8},
|
||||
{0x00a0, 0xc2a0},
|
||||
{0x00a1, 0xc2a1},
|
||||
{0x00a2, 0xc2a2},
|
||||
{0x00a3, 0xc2a3},
|
||||
{0x00a4, 0xc2a4},
|
||||
{0x00a5, 0xc2a5},
|
||||
{0x00a6, 0xc2a6},
|
||||
{0x00a7, 0xc2a7},
|
||||
{0x00a8, 0xc2a8},
|
||||
{0x00a9, 0xc2a9},
|
||||
{0x00aa, 0xc2aa},
|
||||
{0x00ab, 0xc2ab},
|
||||
{0x00ac, 0xc2ac},
|
||||
{0x00ad, 0xc2ad},
|
||||
{0x00ae, 0xc2ae},
|
||||
{0x00af, 0xc2af},
|
||||
{0x00b0, 0xc2b0},
|
||||
{0x00b1, 0xc2b1},
|
||||
{0x00b2, 0xc2b2},
|
||||
{0x00b3, 0xc2b3},
|
||||
{0x00b4, 0xc2b4},
|
||||
{0x00b5, 0xc2b5},
|
||||
{0x00b6, 0xc2b6},
|
||||
{0x00b7, 0xc2b7},
|
||||
{0x00b8, 0xc2b8},
|
||||
{0x00b9, 0xc2b9},
|
||||
{0x00ba, 0xc2ba},
|
||||
{0x00bb, 0xc2bb},
|
||||
{0x00bc, 0xc2bc},
|
||||
{0x00bd, 0xc2bd},
|
||||
{0x00be, 0xc2be},
|
||||
{0x00bf, 0xc2bf},
|
||||
{0x00c0, 0xc380},
|
||||
{0x00c1, 0xc381},
|
||||
{0x00c2, 0xc382},
|
||||
{0x00c3, 0xc482},
|
||||
{0x00c4, 0xc384},
|
||||
{0x00c5, 0xc385},
|
||||
{0x00c6, 0xc386},
|
||||
{0x00c7, 0xc387},
|
||||
{0x00c8, 0xc388},
|
||||
{0x00c9, 0xc389},
|
||||
{0x00ca, 0xc38a},
|
||||
{0x00cb, 0xc38b},
|
||||
{0x00cc, 0xcc80},
|
||||
{0x00cd, 0xc38d},
|
||||
{0x00ce, 0xc38e},
|
||||
{0x00cf, 0xc38f},
|
||||
{0x00d0, 0xc490},
|
||||
{0x00d1, 0xc391},
|
||||
{0x00d2, 0xcc89},
|
||||
{0x00d3, 0xc393},
|
||||
{0x00d4, 0xc394},
|
||||
{0x00d5, 0xc6a0},
|
||||
{0x00d6, 0xc396},
|
||||
{0x00d7, 0xc397},
|
||||
{0x00d8, 0xc398},
|
||||
{0x00d9, 0xc399},
|
||||
{0x00da, 0xc39a},
|
||||
{0x00db, 0xc39b},
|
||||
{0x00dc, 0xc39c},
|
||||
{0x00dd, 0xc6af},
|
||||
{0x00de, 0xcc83},
|
||||
{0x00df, 0xc39f},
|
||||
{0x00e0, 0xc3a0},
|
||||
{0x00e1, 0xc3a1},
|
||||
{0x00e2, 0xc3a2},
|
||||
{0x00e3, 0xc483},
|
||||
{0x00e4, 0xc3a4},
|
||||
{0x00e5, 0xc3a5},
|
||||
{0x00e6, 0xc3a6},
|
||||
{0x00e7, 0xc3a7},
|
||||
{0x00e8, 0xc3a8},
|
||||
{0x00e9, 0xc3a9},
|
||||
{0x00ea, 0xc3aa},
|
||||
{0x00eb, 0xc3ab},
|
||||
{0x00ec, 0xcc81},
|
||||
{0x00ed, 0xc3ad},
|
||||
{0x00ee, 0xc3ae},
|
||||
{0x00ef, 0xc3af},
|
||||
{0x00f0, 0xc491},
|
||||
{0x00f1, 0xc3b1},
|
||||
{0x00f2, 0xcca3},
|
||||
{0x00f3, 0xc3b3},
|
||||
{0x00f4, 0xc3b4},
|
||||
{0x00f5, 0xc6a1},
|
||||
{0x00f6, 0xc3b6},
|
||||
{0x00f7, 0xc3b7},
|
||||
{0x00f8, 0xc3b8},
|
||||
{0x00f9, 0xc3b9},
|
||||
{0x00fa, 0xc3ba},
|
||||
{0x00fb, 0xc3bb},
|
||||
{0x00fc, 0xc3bc},
|
||||
{0x00fd, 0xc6b0},
|
||||
{0x00fe, 0xe282ab},
|
||||
{0x00ff, 0xc3bf}
|
||||
};
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,122 @@
|
|||
static pg_utf_to_local ULmapTCVN[ 120 ] = {
|
||||
{0x0000, 0x0081},
|
||||
{0xc2a0, 0x00a0},
|
||||
{0xc2a1, 0x00a1},
|
||||
{0xc2a2, 0x00a2},
|
||||
{0xc2a3, 0x00a3},
|
||||
{0xc2a4, 0x00a4},
|
||||
{0xc2a5, 0x00a5},
|
||||
{0xc2a6, 0x00a6},
|
||||
{0xc2a7, 0x00a7},
|
||||
{0xc2a8, 0x00a8},
|
||||
{0xc2a9, 0x00a9},
|
||||
{0xc2aa, 0x00aa},
|
||||
{0xc2ab, 0x00ab},
|
||||
{0xc2ac, 0x00ac},
|
||||
{0xc2ad, 0x00ad},
|
||||
{0xc2ae, 0x00ae},
|
||||
{0xc2af, 0x00af},
|
||||
{0xc2b0, 0x00b0},
|
||||
{0xc2b1, 0x00b1},
|
||||
{0xc2b2, 0x00b2},
|
||||
{0xc2b3, 0x00b3},
|
||||
{0xc2b4, 0x00b4},
|
||||
{0xc2b5, 0x00b5},
|
||||
{0xc2b6, 0x00b6},
|
||||
{0xc2b7, 0x00b7},
|
||||
{0xc2b8, 0x00b8},
|
||||
{0xc2b9, 0x00b9},
|
||||
{0xc2ba, 0x00ba},
|
||||
{0xc2bb, 0x00bb},
|
||||
{0xc2bc, 0x00bc},
|
||||
{0xc2bd, 0x00bd},
|
||||
{0xc2be, 0x00be},
|
||||
{0xc2bf, 0x00bf},
|
||||
{0xc380, 0x00c0},
|
||||
{0xc381, 0x00c1},
|
||||
{0xc382, 0x00c2},
|
||||
{0xc384, 0x00c4},
|
||||
{0xc385, 0x00c5},
|
||||
{0xc386, 0x00c6},
|
||||
{0xc387, 0x00c7},
|
||||
{0xc388, 0x00c8},
|
||||
{0xc389, 0x00c9},
|
||||
{0xc38a, 0x00ca},
|
||||
{0xc38b, 0x00cb},
|
||||
{0xc38d, 0x00cd},
|
||||
{0xc38e, 0x00ce},
|
||||
{0xc38f, 0x00cf},
|
||||
{0xc391, 0x00d1},
|
||||
{0xc393, 0x00d3},
|
||||
{0xc394, 0x00d4},
|
||||
{0xc396, 0x00d6},
|
||||
{0xc397, 0x00d7},
|
||||
{0xc398, 0x00d8},
|
||||
{0xc399, 0x00d9},
|
||||
{0xc39a, 0x00da},
|
||||
{0xc39b, 0x00db},
|
||||
{0xc39c, 0x00dc},
|
||||
{0xc39f, 0x00df},
|
||||
{0xc3a0, 0x00e0},
|
||||
{0xc3a1, 0x00e1},
|
||||
{0xc3a2, 0x00e2},
|
||||
{0xc3a4, 0x00e4},
|
||||
{0xc3a5, 0x00e5},
|
||||
{0xc3a6, 0x00e6},
|
||||
{0xc3a7, 0x00e7},
|
||||
{0xc3a8, 0x00e8},
|
||||
{0xc3a9, 0x00e9},
|
||||
{0xc3aa, 0x00ea},
|
||||
{0xc3ab, 0x00eb},
|
||||
{0xc3ad, 0x00ed},
|
||||
{0xc3ae, 0x00ee},
|
||||
{0xc3af, 0x00ef},
|
||||
{0xc3b1, 0x00f1},
|
||||
{0xc3b3, 0x00f3},
|
||||
{0xc3b4, 0x00f4},
|
||||
{0xc3b6, 0x00f6},
|
||||
{0xc3b7, 0x00f7},
|
||||
{0xc3b8, 0x00f8},
|
||||
{0xc3b9, 0x00f9},
|
||||
{0xc3ba, 0x00fa},
|
||||
{0xc3bb, 0x00fb},
|
||||
{0xc3bc, 0x00fc},
|
||||
{0xc3bf, 0x00ff},
|
||||
{0xc482, 0x00c3},
|
||||
{0xc483, 0x00e3},
|
||||
{0xc490, 0x00d0},
|
||||
{0xc491, 0x00f0},
|
||||
{0xc592, 0x008c},
|
||||
{0xc593, 0x009c},
|
||||
{0xc5b8, 0x009f},
|
||||
{0xc692, 0x0083},
|
||||
{0xc6a0, 0x00d5},
|
||||
{0xc6a1, 0x00f5},
|
||||
{0xc6af, 0x00dd},
|
||||
{0xc6b0, 0x00fd},
|
||||
{0xcb86, 0x0088},
|
||||
{0xcb9c, 0x0098},
|
||||
{0xcc80, 0x00cc},
|
||||
{0xcc81, 0x00ec},
|
||||
{0xcc83, 0x00de},
|
||||
{0xcc89, 0x00d2},
|
||||
{0xcca3, 0x00f2},
|
||||
{0xe28093, 0x0096},
|
||||
{0xe28094, 0x0097},
|
||||
{0xe28098, 0x0091},
|
||||
{0xe28099, 0x0092},
|
||||
{0xe2809a, 0x0082},
|
||||
{0xe2809c, 0x0093},
|
||||
{0xe2809d, 0x0094},
|
||||
{0xe2809e, 0x0084},
|
||||
{0xe280a0, 0x0086},
|
||||
{0xe280a1, 0x0087},
|
||||
{0xe280a2, 0x0095},
|
||||
{0xe280a6, 0x0085},
|
||||
{0xe280b0, 0x0089},
|
||||
{0xe280b9, 0x008b},
|
||||
{0xe280ba, 0x009b},
|
||||
{0xe282ab, 0x00fe},
|
||||
{0xe282ac, 0x0080},
|
||||
{0xe284a2, 0x0099}
|
||||
};
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,126 @@
|
|||
static pg_utf_to_local ULmapWIN1250[ 124 ] = {
|
||||
{0x0000, 0x0081},
|
||||
{0xc2a0, 0x00a0},
|
||||
{0xc2a4, 0x00a4},
|
||||
{0xc2a6, 0x00a6},
|
||||
{0xc2a7, 0x00a7},
|
||||
{0xc2a8, 0x00a8},
|
||||
{0xc2a9, 0x00a9},
|
||||
{0xc2ab, 0x00ab},
|
||||
{0xc2ac, 0x00ac},
|
||||
{0xc2ad, 0x00ad},
|
||||
{0xc2ae, 0x00ae},
|
||||
{0xc2b0, 0x00b0},
|
||||
{0xc2b1, 0x00b1},
|
||||
{0xc2b4, 0x00b4},
|
||||
{0xc2b5, 0x00b5},
|
||||
{0xc2b6, 0x00b6},
|
||||
{0xc2b7, 0x00b7},
|
||||
{0xc2b8, 0x00b8},
|
||||
{0xc2bb, 0x00bb},
|
||||
{0xc381, 0x00c1},
|
||||
{0xc382, 0x00c2},
|
||||
{0xc384, 0x00c4},
|
||||
{0xc387, 0x00c7},
|
||||
{0xc389, 0x00c9},
|
||||
{0xc38b, 0x00cb},
|
||||
{0xc38d, 0x00cd},
|
||||
{0xc38e, 0x00ce},
|
||||
{0xc393, 0x00d3},
|
||||
{0xc394, 0x00d4},
|
||||
{0xc396, 0x00d6},
|
||||
{0xc397, 0x00d7},
|
||||
{0xc39a, 0x00da},
|
||||
{0xc39c, 0x00dc},
|
||||
{0xc39d, 0x00dd},
|
||||
{0xc39f, 0x00df},
|
||||
{0xc3a1, 0x00e1},
|
||||
{0xc3a2, 0x00e2},
|
||||
{0xc3a4, 0x00e4},
|
||||
{0xc3a7, 0x00e7},
|
||||
{0xc3a9, 0x00e9},
|
||||
{0xc3ab, 0x00eb},
|
||||
{0xc3ad, 0x00ed},
|
||||
{0xc3ae, 0x00ee},
|
||||
{0xc3b3, 0x00f3},
|
||||
{0xc3b4, 0x00f4},
|
||||
{0xc3b6, 0x00f6},
|
||||
{0xc3b7, 0x00f7},
|
||||
{0xc3ba, 0x00fa},
|
||||
{0xc3bc, 0x00fc},
|
||||
{0xc3bd, 0x00fd},
|
||||
{0xc482, 0x00c3},
|
||||
{0xc483, 0x00e3},
|
||||
{0xc484, 0x00a5},
|
||||
{0xc485, 0x00b9},
|
||||
{0xc486, 0x00c6},
|
||||
{0xc487, 0x00e6},
|
||||
{0xc48c, 0x00c8},
|
||||
{0xc48d, 0x00e8},
|
||||
{0xc48e, 0x00cf},
|
||||
{0xc48f, 0x00ef},
|
||||
{0xc490, 0x00d0},
|
||||
{0xc491, 0x00f0},
|
||||
{0xc498, 0x00ca},
|
||||
{0xc499, 0x00ea},
|
||||
{0xc49a, 0x00cc},
|
||||
{0xc49b, 0x00ec},
|
||||
{0xc4b9, 0x00c5},
|
||||
{0xc4ba, 0x00e5},
|
||||
{0xc4bd, 0x00bc},
|
||||
{0xc4be, 0x00be},
|
||||
{0xc581, 0x00a3},
|
||||
{0xc582, 0x00b3},
|
||||
{0xc583, 0x00d1},
|
||||
{0xc584, 0x00f1},
|
||||
{0xc587, 0x00d2},
|
||||
{0xc588, 0x00f2},
|
||||
{0xc590, 0x00d5},
|
||||
{0xc591, 0x00f5},
|
||||
{0xc594, 0x00c0},
|
||||
{0xc595, 0x00e0},
|
||||
{0xc598, 0x00d8},
|
||||
{0xc599, 0x00f8},
|
||||
{0xc59a, 0x008c},
|
||||
{0xc59b, 0x009c},
|
||||
{0xc59e, 0x00aa},
|
||||
{0xc59f, 0x00ba},
|
||||
{0xc5a0, 0x008a},
|
||||
{0xc5a1, 0x009a},
|
||||
{0xc5a2, 0x00de},
|
||||
{0xc5a3, 0x00fe},
|
||||
{0xc5a4, 0x008d},
|
||||
{0xc5a5, 0x009d},
|
||||
{0xc5ae, 0x00d9},
|
||||
{0xc5af, 0x00f9},
|
||||
{0xc5b0, 0x00db},
|
||||
{0xc5b1, 0x00fb},
|
||||
{0xc5b9, 0x008f},
|
||||
{0xc5ba, 0x009f},
|
||||
{0xc5bb, 0x00af},
|
||||
{0xc5bc, 0x00bf},
|
||||
{0xc5bd, 0x008e},
|
||||
{0xc5be, 0x009e},
|
||||
{0xcb87, 0x00a1},
|
||||
{0xcb98, 0x00a2},
|
||||
{0xcb99, 0x00ff},
|
||||
{0xcb9b, 0x00b2},
|
||||
{0xcb9d, 0x00bd},
|
||||
{0xe28093, 0x0096},
|
||||
{0xe28094, 0x0097},
|
||||
{0xe28098, 0x0091},
|
||||
{0xe28099, 0x0092},
|
||||
{0xe2809a, 0x0082},
|
||||
{0xe2809c, 0x0093},
|
||||
{0xe2809d, 0x0094},
|
||||
{0xe2809e, 0x0084},
|
||||
{0xe280a0, 0x0086},
|
||||
{0xe280a1, 0x0087},
|
||||
{0xe280a2, 0x0095},
|
||||
{0xe280a6, 0x0085},
|
||||
{0xe280b0, 0x0089},
|
||||
{0xe280b9, 0x008b},
|
||||
{0xe280ba, 0x009b},
|
||||
{0xe282ac, 0x0080},
|
||||
{0xe284a2, 0x0099}
|
||||
};
|
|
@ -0,0 +1,130 @@
|
|||
static pg_utf_to_local ULmapWIN1256[ 128 ] = {
|
||||
{0xc2a0, 0x00a0},
|
||||
{0xc2a2, 0x00a2},
|
||||
{0xc2a3, 0x00a3},
|
||||
{0xc2a4, 0x00a4},
|
||||
{0xc2a5, 0x00a5},
|
||||
{0xc2a6, 0x00a6},
|
||||
{0xc2a7, 0x00a7},
|
||||
{0xc2a8, 0x00a8},
|
||||
{0xc2a9, 0x00a9},
|
||||
{0xc2ab, 0x00ab},
|
||||
{0xc2ac, 0x00ac},
|
||||
{0xc2ad, 0x00ad},
|
||||
{0xc2ae, 0x00ae},
|
||||
{0xc2af, 0x00af},
|
||||
{0xc2b0, 0x00b0},
|
||||
{0xc2b1, 0x00b1},
|
||||
{0xc2b2, 0x00b2},
|
||||
{0xc2b3, 0x00b3},
|
||||
{0xc2b4, 0x00b4},
|
||||
{0xc2b5, 0x00b5},
|
||||
{0xc2b6, 0x00b6},
|
||||
{0xc2b7, 0x00b7},
|
||||
{0xc2b8, 0x00b8},
|
||||
{0xc2b9, 0x00b9},
|
||||
{0xc2bb, 0x00bb},
|
||||
{0xc2bc, 0x00bc},
|
||||
{0xc2bd, 0x00bd},
|
||||
{0xc2be, 0x00be},
|
||||
{0xc397, 0x00d7},
|
||||
{0xc3a0, 0x00e0},
|
||||
{0xc3a2, 0x00e2},
|
||||
{0xc3a7, 0x00e7},
|
||||
{0xc3a8, 0x00e8},
|
||||
{0xc3a9, 0x00e9},
|
||||
{0xc3aa, 0x00ea},
|
||||
{0xc3ab, 0x00eb},
|
||||
{0xc3ae, 0x00ee},
|
||||
{0xc3af, 0x00ef},
|
||||
{0xc3b4, 0x00f4},
|
||||
{0xc3b7, 0x00f7},
|
||||
{0xc3b9, 0x00f9},
|
||||
{0xc3bb, 0x00fb},
|
||||
{0xc3bc, 0x00fc},
|
||||
{0xc592, 0x008c},
|
||||
{0xc593, 0x009c},
|
||||
{0xc692, 0x0083},
|
||||
{0xcb86, 0x0088},
|
||||
{0xd88c, 0x00a1},
|
||||
{0xd89b, 0x00ba},
|
||||
{0xd89f, 0x00bf},
|
||||
{0xd8a1, 0x00c1},
|
||||
{0xd8a2, 0x00c2},
|
||||
{0xd8a3, 0x00c3},
|
||||
{0xd8a4, 0x00c4},
|
||||
{0xd8a5, 0x00c5},
|
||||
{0xd8a6, 0x00c6},
|
||||
{0xd8a7, 0x00c7},
|
||||
{0xd8a8, 0x00c8},
|
||||
{0xd8a9, 0x00c9},
|
||||
{0xd8aa, 0x00ca},
|
||||
{0xd8ab, 0x00cb},
|
||||
{0xd8ac, 0x00cc},
|
||||
{0xd8ad, 0x00cd},
|
||||
{0xd8ae, 0x00ce},
|
||||
{0xd8af, 0x00cf},
|
||||
{0xd8b0, 0x00d0},
|
||||
{0xd8b1, 0x00d1},
|
||||
{0xd8b2, 0x00d2},
|
||||
{0xd8b3, 0x00d3},
|
||||
{0xd8b4, 0x00d4},
|
||||
{0xd8b5, 0x00d5},
|
||||
{0xd8b6, 0x00d6},
|
||||
{0xd8b7, 0x00d8},
|
||||
{0xd8b8, 0x00d9},
|
||||
{0xd8b9, 0x00da},
|
||||
{0xd8ba, 0x00db},
|
||||
{0xd980, 0x00dc},
|
||||
{0xd981, 0x00dd},
|
||||
{0xd982, 0x00de},
|
||||
{0xd983, 0x00df},
|
||||
{0xd984, 0x00e1},
|
||||
{0xd985, 0x00e3},
|
||||
{0xd986, 0x00e4},
|
||||
{0xd987, 0x00e5},
|
||||
{0xd988, 0x00e6},
|
||||
{0xd989, 0x00ec},
|
||||
{0xd98a, 0x00ed},
|
||||
{0xd98b, 0x00f0},
|
||||
{0xd98c, 0x00f1},
|
||||
{0xd98d, 0x00f2},
|
||||
{0xd98e, 0x00f3},
|
||||
{0xd98f, 0x00f5},
|
||||
{0xd990, 0x00f6},
|
||||
{0xd991, 0x00f8},
|
||||
{0xd992, 0x00fa},
|
||||
{0xd9b9, 0x008a},
|
||||
{0xd9be, 0x0081},
|
||||
{0xda86, 0x008d},
|
||||
{0xda88, 0x008f},
|
||||
{0xda91, 0x009a},
|
||||
{0xda98, 0x008e},
|
||||
{0xdaa9, 0x0098},
|
||||
{0xdaaf, 0x0090},
|
||||
{0xdaba, 0x009f},
|
||||
{0xdabe, 0x00aa},
|
||||
{0xdb81, 0x00c0},
|
||||
{0xdb92, 0x00ff},
|
||||
{0xe2808c, 0x009d},
|
||||
{0xe2808d, 0x009e},
|
||||
{0xe2808e, 0x00fd},
|
||||
{0xe2808f, 0x00fe},
|
||||
{0xe28093, 0x0096},
|
||||
{0xe28094, 0x0097},
|
||||
{0xe28098, 0x0091},
|
||||
{0xe28099, 0x0092},
|
||||
{0xe2809a, 0x0082},
|
||||
{0xe2809c, 0x0093},
|
||||
{0xe2809d, 0x0094},
|
||||
{0xe2809e, 0x0084},
|
||||
{0xe280a0, 0x0086},
|
||||
{0xe280a1, 0x0087},
|
||||
{0xe280a2, 0x0095},
|
||||
{0xe280a6, 0x0085},
|
||||
{0xe280b0, 0x0089},
|
||||
{0xe280b9, 0x008b},
|
||||
{0xe280ba, 0x009b},
|
||||
{0xe282ac, 0x0080},
|
||||
{0xe284a2, 0x0099}
|
||||
};
|
|
@ -0,0 +1,100 @@
|
|||
static pg_utf_to_local ULmapWIN874[ 98 ] = {
|
||||
{0x0000, 0x0081},
|
||||
{0xc2a0, 0x00a0},
|
||||
{0xe0b881, 0x00a1},
|
||||
{0xe0b882, 0x00a2},
|
||||
{0xe0b883, 0x00a3},
|
||||
{0xe0b884, 0x00a4},
|
||||
{0xe0b885, 0x00a5},
|
||||
{0xe0b886, 0x00a6},
|
||||
{0xe0b887, 0x00a7},
|
||||
{0xe0b888, 0x00a8},
|
||||
{0xe0b889, 0x00a9},
|
||||
{0xe0b88a, 0x00aa},
|
||||
{0xe0b88b, 0x00ab},
|
||||
{0xe0b88c, 0x00ac},
|
||||
{0xe0b88d, 0x00ad},
|
||||
{0xe0b88e, 0x00ae},
|
||||
{0xe0b88f, 0x00af},
|
||||
{0xe0b890, 0x00b0},
|
||||
{0xe0b891, 0x00b1},
|
||||
{0xe0b892, 0x00b2},
|
||||
{0xe0b893, 0x00b3},
|
||||
{0xe0b894, 0x00b4},
|
||||
{0xe0b895, 0x00b5},
|
||||
{0xe0b896, 0x00b6},
|
||||
{0xe0b897, 0x00b7},
|
||||
{0xe0b898, 0x00b8},
|
||||
{0xe0b899, 0x00b9},
|
||||
{0xe0b89a, 0x00ba},
|
||||
{0xe0b89b, 0x00bb},
|
||||
{0xe0b89c, 0x00bc},
|
||||
{0xe0b89d, 0x00bd},
|
||||
{0xe0b89e, 0x00be},
|
||||
{0xe0b89f, 0x00bf},
|
||||
{0xe0b8a0, 0x00c0},
|
||||
{0xe0b8a1, 0x00c1},
|
||||
{0xe0b8a2, 0x00c2},
|
||||
{0xe0b8a3, 0x00c3},
|
||||
{0xe0b8a4, 0x00c4},
|
||||
{0xe0b8a5, 0x00c5},
|
||||
{0xe0b8a6, 0x00c6},
|
||||
{0xe0b8a7, 0x00c7},
|
||||
{0xe0b8a8, 0x00c8},
|
||||
{0xe0b8a9, 0x00c9},
|
||||
{0xe0b8aa, 0x00ca},
|
||||
{0xe0b8ab, 0x00cb},
|
||||
{0xe0b8ac, 0x00cc},
|
||||
{0xe0b8ad, 0x00cd},
|
||||
{0xe0b8ae, 0x00ce},
|
||||
{0xe0b8af, 0x00cf},
|
||||
{0xe0b8b0, 0x00d0},
|
||||
{0xe0b8b1, 0x00d1},
|
||||
{0xe0b8b2, 0x00d2},
|
||||
{0xe0b8b3, 0x00d3},
|
||||
{0xe0b8b4, 0x00d4},
|
||||
{0xe0b8b5, 0x00d5},
|
||||
{0xe0b8b6, 0x00d6},
|
||||
{0xe0b8b7, 0x00d7},
|
||||
{0xe0b8b8, 0x00d8},
|
||||
{0xe0b8b9, 0x00d9},
|
||||
{0xe0b8ba, 0x00da},
|
||||
{0xe0b8bf, 0x00df},
|
||||
{0xe0b980, 0x00e0},
|
||||
{0xe0b981, 0x00e1},
|
||||
{0xe0b982, 0x00e2},
|
||||
{0xe0b983, 0x00e3},
|
||||
{0xe0b984, 0x00e4},
|
||||
{0xe0b985, 0x00e5},
|
||||
{0xe0b986, 0x00e6},
|
||||
{0xe0b987, 0x00e7},
|
||||
{0xe0b988, 0x00e8},
|
||||
{0xe0b989, 0x00e9},
|
||||
{0xe0b98a, 0x00ea},
|
||||
{0xe0b98b, 0x00eb},
|
||||
{0xe0b98c, 0x00ec},
|
||||
{0xe0b98d, 0x00ed},
|
||||
{0xe0b98e, 0x00ee},
|
||||
{0xe0b98f, 0x00ef},
|
||||
{0xe0b990, 0x00f0},
|
||||
{0xe0b991, 0x00f1},
|
||||
{0xe0b992, 0x00f2},
|
||||
{0xe0b993, 0x00f3},
|
||||
{0xe0b994, 0x00f4},
|
||||
{0xe0b995, 0x00f5},
|
||||
{0xe0b996, 0x00f6},
|
||||
{0xe0b997, 0x00f7},
|
||||
{0xe0b998, 0x00f8},
|
||||
{0xe0b999, 0x00f9},
|
||||
{0xe0b99a, 0x00fa},
|
||||
{0xe0b99b, 0x00fb},
|
||||
{0xe28093, 0x0096},
|
||||
{0xe28094, 0x0097},
|
||||
{0xe28098, 0x0091},
|
||||
{0xe28099, 0x0092},
|
||||
{0xe2809c, 0x0093},
|
||||
{0xe2809d, 0x0094},
|
||||
{0xe280a2, 0x0095},
|
||||
{0xe280a6, 0x0085},
|
||||
{0xe282ac, 0x0080}
|
||||
};
|
|
@ -0,0 +1,130 @@
|
|||
static pg_local_to_utf LUmapWIN1250[ 128 ] = {
|
||||
{0x0080, 0xe282ac},
|
||||
{0x0081, 0x0000},
|
||||
{0x0082, 0xe2809a},
|
||||
{0x0083, 0x0000},
|
||||
{0x0084, 0xe2809e},
|
||||
{0x0085, 0xe280a6},
|
||||
{0x0086, 0xe280a0},
|
||||
{0x0087, 0xe280a1},
|
||||
{0x0088, 0x0000},
|
||||
{0x0089, 0xe280b0},
|
||||
{0x008a, 0xc5a0},
|
||||
{0x008b, 0xe280b9},
|
||||
{0x008c, 0xc59a},
|
||||
{0x008d, 0xc5a4},
|
||||
{0x008e, 0xc5bd},
|
||||
{0x008f, 0xc5b9},
|
||||
{0x0090, 0x0000},
|
||||
{0x0091, 0xe28098},
|
||||
{0x0092, 0xe28099},
|
||||
{0x0093, 0xe2809c},
|
||||
{0x0094, 0xe2809d},
|
||||
{0x0095, 0xe280a2},
|
||||
{0x0096, 0xe28093},
|
||||
{0x0097, 0xe28094},
|
||||
{0x0098, 0x0000},
|
||||
{0x0099, 0xe284a2},
|
||||
{0x009a, 0xc5a1},
|
||||
{0x009b, 0xe280ba},
|
||||
{0x009c, 0xc59b},
|
||||
{0x009d, 0xc5a5},
|
||||
{0x009e, 0xc5be},
|
||||
{0x009f, 0xc5ba},
|
||||
{0x00a0, 0xc2a0},
|
||||
{0x00a1, 0xcb87},
|
||||
{0x00a2, 0xcb98},
|
||||
{0x00a3, 0xc581},
|
||||
{0x00a4, 0xc2a4},
|
||||
{0x00a5, 0xc484},
|
||||
{0x00a6, 0xc2a6},
|
||||
{0x00a7, 0xc2a7},
|
||||
{0x00a8, 0xc2a8},
|
||||
{0x00a9, 0xc2a9},
|
||||
{0x00aa, 0xc59e},
|
||||
{0x00ab, 0xc2ab},
|
||||
{0x00ac, 0xc2ac},
|
||||
{0x00ad, 0xc2ad},
|
||||
{0x00ae, 0xc2ae},
|
||||
{0x00af, 0xc5bb},
|
||||
{0x00b0, 0xc2b0},
|
||||
{0x00b1, 0xc2b1},
|
||||
{0x00b2, 0xcb9b},
|
||||
{0x00b3, 0xc582},
|
||||
{0x00b4, 0xc2b4},
|
||||
{0x00b5, 0xc2b5},
|
||||
{0x00b6, 0xc2b6},
|
||||
{0x00b7, 0xc2b7},
|
||||
{0x00b8, 0xc2b8},
|
||||
{0x00b9, 0xc485},
|
||||
{0x00ba, 0xc59f},
|
||||
{0x00bb, 0xc2bb},
|
||||
{0x00bc, 0xc4bd},
|
||||
{0x00bd, 0xcb9d},
|
||||
{0x00be, 0xc4be},
|
||||
{0x00bf, 0xc5bc},
|
||||
{0x00c0, 0xc594},
|
||||
{0x00c1, 0xc381},
|
||||
{0x00c2, 0xc382},
|
||||
{0x00c3, 0xc482},
|
||||
{0x00c4, 0xc384},
|
||||
{0x00c5, 0xc4b9},
|
||||
{0x00c6, 0xc486},
|
||||
{0x00c7, 0xc387},
|
||||
{0x00c8, 0xc48c},
|
||||
{0x00c9, 0xc389},
|
||||
{0x00ca, 0xc498},
|
||||
{0x00cb, 0xc38b},
|
||||
{0x00cc, 0xc49a},
|
||||
{0x00cd, 0xc38d},
|
||||
{0x00ce, 0xc38e},
|
||||
{0x00cf, 0xc48e},
|
||||
{0x00d0, 0xc490},
|
||||
{0x00d1, 0xc583},
|
||||
{0x00d2, 0xc587},
|
||||
{0x00d3, 0xc393},
|
||||
{0x00d4, 0xc394},
|
||||
{0x00d5, 0xc590},
|
||||
{0x00d6, 0xc396},
|
||||
{0x00d7, 0xc397},
|
||||
{0x00d8, 0xc598},
|
||||
{0x00d9, 0xc5ae},
|
||||
{0x00da, 0xc39a},
|
||||
{0x00db, 0xc5b0},
|
||||
{0x00dc, 0xc39c},
|
||||
{0x00dd, 0xc39d},
|
||||
{0x00de, 0xc5a2},
|
||||
{0x00df, 0xc39f},
|
||||
{0x00e0, 0xc595},
|
||||
{0x00e1, 0xc3a1},
|
||||
{0x00e2, 0xc3a2},
|
||||
{0x00e3, 0xc483},
|
||||
{0x00e4, 0xc3a4},
|
||||
{0x00e5, 0xc4ba},
|
||||
{0x00e6, 0xc487},
|
||||
{0x00e7, 0xc3a7},
|
||||
{0x00e8, 0xc48d},
|
||||
{0x00e9, 0xc3a9},
|
||||
{0x00ea, 0xc499},
|
||||
{0x00eb, 0xc3ab},
|
||||
{0x00ec, 0xc49b},
|
||||
{0x00ed, 0xc3ad},
|
||||
{0x00ee, 0xc3ae},
|
||||
{0x00ef, 0xc48f},
|
||||
{0x00f0, 0xc491},
|
||||
{0x00f1, 0xc584},
|
||||
{0x00f2, 0xc588},
|
||||
{0x00f3, 0xc3b3},
|
||||
{0x00f4, 0xc3b4},
|
||||
{0x00f5, 0xc591},
|
||||
{0x00f6, 0xc3b6},
|
||||
{0x00f7, 0xc3b7},
|
||||
{0x00f8, 0xc599},
|
||||
{0x00f9, 0xc5af},
|
||||
{0x00fa, 0xc3ba},
|
||||
{0x00fb, 0xc5b1},
|
||||
{0x00fc, 0xc3bc},
|
||||
{0x00fd, 0xc3bd},
|
||||
{0x00fe, 0xc5a3},
|
||||
{0x00ff, 0xcb99}
|
||||
};
|
|
@ -0,0 +1,130 @@
|
|||
static pg_local_to_utf LUmapWIN1256[ 128 ] = {
|
||||
{0x0080, 0xe282ac},
|
||||
{0x0081, 0xd9be},
|
||||
{0x0082, 0xe2809a},
|
||||
{0x0083, 0xc692},
|
||||
{0x0084, 0xe2809e},
|
||||
{0x0085, 0xe280a6},
|
||||
{0x0086, 0xe280a0},
|
||||
{0x0087, 0xe280a1},
|
||||
{0x0088, 0xcb86},
|
||||
{0x0089, 0xe280b0},
|
||||
{0x008a, 0xd9b9},
|
||||
{0x008b, 0xe280b9},
|
||||
{0x008c, 0xc592},
|
||||
{0x008d, 0xda86},
|
||||
{0x008e, 0xda98},
|
||||
{0x008f, 0xda88},
|
||||
{0x0090, 0xdaaf},
|
||||
{0x0091, 0xe28098},
|
||||
{0x0092, 0xe28099},
|
||||
{0x0093, 0xe2809c},
|
||||
{0x0094, 0xe2809d},
|
||||
{0x0095, 0xe280a2},
|
||||
{0x0096, 0xe28093},
|
||||
{0x0097, 0xe28094},
|
||||
{0x0098, 0xdaa9},
|
||||
{0x0099, 0xe284a2},
|
||||
{0x009a, 0xda91},
|
||||
{0x009b, 0xe280ba},
|
||||
{0x009c, 0xc593},
|
||||
{0x009d, 0xe2808c},
|
||||
{0x009e, 0xe2808d},
|
||||
{0x009f, 0xdaba},
|
||||
{0x00a0, 0xc2a0},
|
||||
{0x00a1, 0xd88c},
|
||||
{0x00a2, 0xc2a2},
|
||||
{0x00a3, 0xc2a3},
|
||||
{0x00a4, 0xc2a4},
|
||||
{0x00a5, 0xc2a5},
|
||||
{0x00a6, 0xc2a6},
|
||||
{0x00a7, 0xc2a7},
|
||||
{0x00a8, 0xc2a8},
|
||||
{0x00a9, 0xc2a9},
|
||||
{0x00aa, 0xdabe},
|
||||
{0x00ab, 0xc2ab},
|
||||
{0x00ac, 0xc2ac},
|
||||
{0x00ad, 0xc2ad},
|
||||
{0x00ae, 0xc2ae},
|
||||
{0x00af, 0xc2af},
|
||||
{0x00b0, 0xc2b0},
|
||||
{0x00b1, 0xc2b1},
|
||||
{0x00b2, 0xc2b2},
|
||||
{0x00b3, 0xc2b3},
|
||||
{0x00b4, 0xc2b4},
|
||||
{0x00b5, 0xc2b5},
|
||||
{0x00b6, 0xc2b6},
|
||||
{0x00b7, 0xc2b7},
|
||||
{0x00b8, 0xc2b8},
|
||||
{0x00b9, 0xc2b9},
|
||||
{0x00ba, 0xd89b},
|
||||
{0x00bb, 0xc2bb},
|
||||
{0x00bc, 0xc2bc},
|
||||
{0x00bd, 0xc2bd},
|
||||
{0x00be, 0xc2be},
|
||||
{0x00bf, 0xd89f},
|
||||
{0x00c0, 0xdb81},
|
||||
{0x00c1, 0xd8a1},
|
||||
{0x00c2, 0xd8a2},
|
||||
{0x00c3, 0xd8a3},
|
||||
{0x00c4, 0xd8a4},
|
||||
{0x00c5, 0xd8a5},
|
||||
{0x00c6, 0xd8a6},
|
||||
{0x00c7, 0xd8a7},
|
||||
{0x00c8, 0xd8a8},
|
||||
{0x00c9, 0xd8a9},
|
||||
{0x00ca, 0xd8aa},
|
||||
{0x00cb, 0xd8ab},
|
||||
{0x00cc, 0xd8ac},
|
||||
{0x00cd, 0xd8ad},
|
||||
{0x00ce, 0xd8ae},
|
||||
{0x00cf, 0xd8af},
|
||||
{0x00d0, 0xd8b0},
|
||||
{0x00d1, 0xd8b1},
|
||||
{0x00d2, 0xd8b2},
|
||||
{0x00d3, 0xd8b3},
|
||||
{0x00d4, 0xd8b4},
|
||||
{0x00d5, 0xd8b5},
|
||||
{0x00d6, 0xd8b6},
|
||||
{0x00d7, 0xc397},
|
||||
{0x00d8, 0xd8b7},
|
||||
{0x00d9, 0xd8b8},
|
||||
{0x00da, 0xd8b9},
|
||||
{0x00db, 0xd8ba},
|
||||
{0x00dc, 0xd980},
|
||||
{0x00dd, 0xd981},
|
||||
{0x00de, 0xd982},
|
||||
{0x00df, 0xd983},
|
||||
{0x00e0, 0xc3a0},
|
||||
{0x00e1, 0xd984},
|
||||
{0x00e2, 0xc3a2},
|
||||
{0x00e3, 0xd985},
|
||||
{0x00e4, 0xd986},
|
||||
{0x00e5, 0xd987},
|
||||
{0x00e6, 0xd988},
|
||||
{0x00e7, 0xc3a7},
|
||||
{0x00e8, 0xc3a8},
|
||||
{0x00e9, 0xc3a9},
|
||||
{0x00ea, 0xc3aa},
|
||||
{0x00eb, 0xc3ab},
|
||||
{0x00ec, 0xd989},
|
||||
{0x00ed, 0xd98a},
|
||||
{0x00ee, 0xc3ae},
|
||||
{0x00ef, 0xc3af},
|
||||
{0x00f0, 0xd98b},
|
||||
{0x00f1, 0xd98c},
|
||||
{0x00f2, 0xd98d},
|
||||
{0x00f3, 0xd98e},
|
||||
{0x00f4, 0xc3b4},
|
||||
{0x00f5, 0xd98f},
|
||||
{0x00f6, 0xd990},
|
||||
{0x00f7, 0xc3b7},
|
||||
{0x00f8, 0xd991},
|
||||
{0x00f9, 0xc3b9},
|
||||
{0x00fa, 0xd992},
|
||||
{0x00fb, 0xc3bb},
|
||||
{0x00fc, 0xc3bc},
|
||||
{0x00fd, 0xe2808e},
|
||||
{0x00fe, 0xe2808f},
|
||||
{0x00ff, 0xdb92}
|
||||
};
|
|
@ -0,0 +1,130 @@
|
|||
static pg_local_to_utf LUmapWIN874[ 128 ] = {
|
||||
{0x0080, 0xe282ac},
|
||||
{0x0081, 0x0000},
|
||||
{0x0082, 0x0000},
|
||||
{0x0083, 0x0000},
|
||||
{0x0084, 0x0000},
|
||||
{0x0085, 0xe280a6},
|
||||
{0x0086, 0x0000},
|
||||
{0x0087, 0x0000},
|
||||
{0x0088, 0x0000},
|
||||
{0x0089, 0x0000},
|
||||
{0x008a, 0x0000},
|
||||
{0x008b, 0x0000},
|
||||
{0x008c, 0x0000},
|
||||
{0x008d, 0x0000},
|
||||
{0x008e, 0x0000},
|
||||
{0x008f, 0x0000},
|
||||
{0x0090, 0x0000},
|
||||
{0x0091, 0xe28098},
|
||||
{0x0092, 0xe28099},
|
||||
{0x0093, 0xe2809c},
|
||||
{0x0094, 0xe2809d},
|
||||
{0x0095, 0xe280a2},
|
||||
{0x0096, 0xe28093},
|
||||
{0x0097, 0xe28094},
|
||||
{0x0098, 0x0000},
|
||||
{0x0099, 0x0000},
|
||||
{0x009a, 0x0000},
|
||||
{0x009b, 0x0000},
|
||||
{0x009c, 0x0000},
|
||||
{0x009d, 0x0000},
|
||||
{0x009e, 0x0000},
|
||||
{0x009f, 0x0000},
|
||||
{0x00a0, 0xc2a0},
|
||||
{0x00a1, 0xe0b881},
|
||||
{0x00a2, 0xe0b882},
|
||||
{0x00a3, 0xe0b883},
|
||||
{0x00a4, 0xe0b884},
|
||||
{0x00a5, 0xe0b885},
|
||||
{0x00a6, 0xe0b886},
|
||||
{0x00a7, 0xe0b887},
|
||||
{0x00a8, 0xe0b888},
|
||||
{0x00a9, 0xe0b889},
|
||||
{0x00aa, 0xe0b88a},
|
||||
{0x00ab, 0xe0b88b},
|
||||
{0x00ac, 0xe0b88c},
|
||||
{0x00ad, 0xe0b88d},
|
||||
{0x00ae, 0xe0b88e},
|
||||
{0x00af, 0xe0b88f},
|
||||
{0x00b0, 0xe0b890},
|
||||
{0x00b1, 0xe0b891},
|
||||
{0x00b2, 0xe0b892},
|
||||
{0x00b3, 0xe0b893},
|
||||
{0x00b4, 0xe0b894},
|
||||
{0x00b5, 0xe0b895},
|
||||
{0x00b6, 0xe0b896},
|
||||
{0x00b7, 0xe0b897},
|
||||
{0x00b8, 0xe0b898},
|
||||
{0x00b9, 0xe0b899},
|
||||
{0x00ba, 0xe0b89a},
|
||||
{0x00bb, 0xe0b89b},
|
||||
{0x00bc, 0xe0b89c},
|
||||
{0x00bd, 0xe0b89d},
|
||||
{0x00be, 0xe0b89e},
|
||||
{0x00bf, 0xe0b89f},
|
||||
{0x00c0, 0xe0b8a0},
|
||||
{0x00c1, 0xe0b8a1},
|
||||
{0x00c2, 0xe0b8a2},
|
||||
{0x00c3, 0xe0b8a3},
|
||||
{0x00c4, 0xe0b8a4},
|
||||
{0x00c5, 0xe0b8a5},
|
||||
{0x00c6, 0xe0b8a6},
|
||||
{0x00c7, 0xe0b8a7},
|
||||
{0x00c8, 0xe0b8a8},
|
||||
{0x00c9, 0xe0b8a9},
|
||||
{0x00ca, 0xe0b8aa},
|
||||
{0x00cb, 0xe0b8ab},
|
||||
{0x00cc, 0xe0b8ac},
|
||||
{0x00cd, 0xe0b8ad},
|
||||
{0x00ce, 0xe0b8ae},
|
||||
{0x00cf, 0xe0b8af},
|
||||
{0x00d0, 0xe0b8b0},
|
||||
{0x00d1, 0xe0b8b1},
|
||||
{0x00d2, 0xe0b8b2},
|
||||
{0x00d3, 0xe0b8b3},
|
||||
{0x00d4, 0xe0b8b4},
|
||||
{0x00d5, 0xe0b8b5},
|
||||
{0x00d6, 0xe0b8b6},
|
||||
{0x00d7, 0xe0b8b7},
|
||||
{0x00d8, 0xe0b8b8},
|
||||
{0x00d9, 0xe0b8b9},
|
||||
{0x00da, 0xe0b8ba},
|
||||
{0x00db, 0x0000},
|
||||
{0x00dc, 0x0000},
|
||||
{0x00dd, 0x0000},
|
||||
{0x00de, 0x0000},
|
||||
{0x00df, 0xe0b8bf},
|
||||
{0x00e0, 0xe0b980},
|
||||
{0x00e1, 0xe0b981},
|
||||
{0x00e2, 0xe0b982},
|
||||
{0x00e3, 0xe0b983},
|
||||
{0x00e4, 0xe0b984},
|
||||
{0x00e5, 0xe0b985},
|
||||
{0x00e6, 0xe0b986},
|
||||
{0x00e7, 0xe0b987},
|
||||
{0x00e8, 0xe0b988},
|
||||
{0x00e9, 0xe0b989},
|
||||
{0x00ea, 0xe0b98a},
|
||||
{0x00eb, 0xe0b98b},
|
||||
{0x00ec, 0xe0b98c},
|
||||
{0x00ed, 0xe0b98d},
|
||||
{0x00ee, 0xe0b98e},
|
||||
{0x00ef, 0xe0b98f},
|
||||
{0x00f0, 0xe0b990},
|
||||
{0x00f1, 0xe0b991},
|
||||
{0x00f2, 0xe0b992},
|
||||
{0x00f3, 0xe0b993},
|
||||
{0x00f4, 0xe0b994},
|
||||
{0x00f5, 0xe0b995},
|
||||
{0x00f6, 0xe0b996},
|
||||
{0x00f7, 0xe0b997},
|
||||
{0x00f8, 0xe0b998},
|
||||
{0x00f9, 0xe0b999},
|
||||
{0x00fa, 0xe0b99a},
|
||||
{0x00fb, 0xe0b99b},
|
||||
{0x00fc, 0x0000},
|
||||
{0x00fd, 0x0000},
|
||||
{0x00fe, 0x0000},
|
||||
{0x00ff, 0x0000}
|
||||
};
|
Loading…
Reference in New Issue