Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postgres/src/backend/utils/mb/Unicode/   (Postgres Database Version 18.4©)  Datei vom 11.4.2026 mit Größe 1 kB image not shown  

Quelle  UCS_to_JOHAB.pl

  Sprache: Shell
 

#! /usr/bin/perl
#
# Copyright (c) 2001-2025, PostgreSQL Global Development Group
#
# src/backend/utils/mb/Unicode/UCS_to_JOHAB.pl
#
# Generate UTF-8 <--> JOHAB 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 the map files from the organization's download site.
https://www.unicode.org/Public/MAPPINGS/
# We assume the file include three tab-separated columns:
#  JOHAB code in hex
#  UCS-2 code in hex
#  # and Unicode name (not used in this script)

use strict;
use warnings FATAL => 'all';

use convutils;

my $this_script = 'src/backend/utils/mb/Unicode/UCS_to_JOHAB.pl';

# Load the source file.

my $mapping = &read_source("JOHAB.TXT");

# Some extra characters that are not in JOHAB.TXT
push @$mapping,
  ( {
  direction => BOTH,
  ucs => 0x20AC,
  code => 0xd9e6,
  comment => '# EURO SIGN',
  f => $this_script,
  l => __LINE__
 },
 {
  direction => BOTH,
  ucs => 0x00AE,
  code => 0xd9e7,
  comment => '# REGISTERED SIGN',
  f => $this_script,
  l => __LINE__
 },
 {
  direction => BOTH,
  ucs => 0x327E,
  code => 0xd9e8,
  comment => '# CIRCLED HANGUL IEUNG U',
  f => $this_script,
  l => __LINE__
 });

print_conversion_tables($this_script, "JOHAB", $mapping);

Messung V0.5 in Prozent
C=94 H=93 G=93

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-08-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.