diff options
author | Suchang Woo <suchang.woo@samsung.com> | 2015-12-02 18:52:27 +0900 |
---|---|---|
committer | Suchang Woo <suchang.woo@samsung.com> | 2015-12-02 18:52:27 +0900 |
commit | 40d523a658c1a2e2311f0d588a96cbfb7eded09f (patch) | |
tree | 5a0b6e0d46634f5c89eaa79bb8cce3c23c767ea0 /doc/tld/README | |
download | libidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.tar.gz libidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.tar.bz2 libidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.zip |
Imported Upstream version 1.15upstream/1.15
Diffstat (limited to 'doc/tld/README')
-rw-r--r-- | doc/tld/README | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/tld/README b/doc/tld/README new file mode 100644 index 0000000..3433bf6 --- /dev/null +++ b/doc/tld/README @@ -0,0 +1,45 @@ +Libidn doc/tld/README -- Notes and definition of the TLD tables. +Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson +Copyright (C) 2004 Free Software Foundation, Inc +See the end for copying conditions. + +This directory contain tables that specify which characters are valid +for each TLD. Each table is stored in a file XX.tld where XX doesn't +really matter, but is recommended to be the TLD name. For example, +the TLD table for .FR is stored in the file "fr.tld". + +The library finds all files matching *.tld automatically, so if you +install a file you only need to remove lib/tlds.c and type 'make' and +it will be incorporated in the library. + +Experimental tables for various TLDs can be found at +<http://tldchk.berlios.de>. + +The format for the files are as follows. Empty lines or those +starting with '#' are ignored. It is highly recommended to discuss +matters in a comment; to give the URL to the source of the table, +mention the copyright and copying conditions of the tables, etc. +Normal lines consist of valid Unicode code points for the TLD, +expressed as single numbers (like 123, 0xff, 0100) or inclusive +intervals (112-344 0xff-0100) using the usual C decimal, octal or hex +notations. + +Each TLD file must contain one line on the format 'tld XX'. The XX +should be the TLD name that the file defines. This is the string that +is used in the generated C source code. + +If definitions are shared among several TLDs or are constructed from +standard Unicode blocks, put the building blocks in a file of its own +and include it using 'include FILENAME' on a line by itself. + +All files, even included files, MUST contain a line 'version FOO' +where FOO is a human readable string that should be possible to use in +a string comparison to detect when the table has changed. The version +number must be changed whenever a backwards incompatible change is +made to the file. Don't change the version number just because the +comments are changed, or there is a new release of the library. + +---------------------------------------------------------------------- +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. |