/rtmp/diff
text/x-diff
Filename: /rtmp/diff
Type: text/x-diff
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
| File | + | − |
|---|---|---|
| src/backend/utils/mb/Unicode/UCS_to_GB18030.pl | 10 | 12 |
Index: src/backend/utils/mb/Unicode/UCS_to_GB18030.pl =================================================================== RCS file: /cvsroot/pgsql/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl,v retrieving revision 1.5 diff -c -c -r1.5 UCS_to_GB18030.pl *** src/backend/utils/mb/Unicode/UCS_to_GB18030.pl 7 Mar 2005 04:30:52 -0000 1.5 --- src/backend/utils/mb/Unicode/UCS_to_GB18030.pl 16 Feb 2010 20:34:11 -0000 *************** *** 1,23 **** #! /usr/bin/perl # ! # Copyright 2002 by Bill Huang # ! # $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl,v 1.5 2005/03/07 04:30:52 momjian Exp $ # # Generate UTF-8 <--> GB18030 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 ISO10646-GB18030.TXT from ! # the organization's ftp site. ! # ! # ISO10646-GB18030.TXT format: ! # GB18030 code in hex ! # UCS-2 code in hex ! # # and Unicode name (not used in this script) require "ucs2utf.pl"; # first generate UTF-8 --> GB18030 table $in_file = "ISO10646-GB18030.TXT"; --- 1,19 ---- #! /usr/bin/perl # ! # Copyright (c) 2007-2010, PostgreSQL Global Development Group # ! # $Id$ # # Generate UTF-8 <--> GB18030 code conversion tables from ! # "ISO10646-GB18030.TXT" ! # ! # file format: ! # GB18030 hex code ! # UCS-2 hex code require "ucs2utf.pl"; + # first generate UTF-8 --> GB18030 table $in_file = "ISO10646-GB18030.TXT"; *************** *** 45,50 **** --- 41,47 ---- } close( FILE ); + # # first, generate UTF8 --> GB18030 table # *************** *** 66,71 **** --- 63,69 ---- print FILE "};\n"; close(FILE); + # # then generate GB18030 --> UTF8 table #