1
ICU License - ICU 1.8.1 and later
2
3
COPYRIGHT AND PERMISSION NOTICE
4
5
Copyright (c) 1995-2008 International Business Machines Corporation and others
6
7
All rights reserved.
8
9
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.
10
11
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
12
13
Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.
14
15
All trademarks and registered trademarks mentioned herein are the property of their respective owners. 
16
17
==============================================================================
18
19
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
20
21
    Unicode Data Files include all data files under the directories
22
http://www.unicode.org/Public/, http://www.unicode.org/reports/, and
23
http://www.unicode.org/cldr/data/ . Unicode Software includes any source code
24
published in the Unicode Standard or under the directories
25
http://www.unicode.org/Public/, http://www.unicode.org/reports/, and
26
http://www.unicode.org/cldr/data/.
27
28
    NOTICE TO USER: Carefully read the following legal agreement. BY
29
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES
30
("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND
31
AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU
32
DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES
33
OR SOFTWARE.
34
35
    COPYRIGHT AND PERMISSION NOTICE
36
37
    Copyright © 1991-2007 Unicode, Inc. All rights reserved. Distributed under
38
the Terms of Use in http://www.unicode.org/copyright.html.
39
40
    Permission is hereby granted, free of charge, to any person obtaining a copy
41
of the Unicode data files and any associated documentation (the "Data Files") or
42
Unicode software and any associated documentation (the "Software") to deal in
43
the Data Files or Software without restriction, including without limitation the
44
rights to use, copy, modify, merge, publish, distribute, and/or sell copies of
45
the Data Files or Software, and to permit persons to whom the Data Files or
46
Software are furnished to do so, provided that (a) the above copyright notice(s)
47
and this permission notice appear with all copies of the Data Files or Software,
48
(b) both the above copyright notice(s) and this permission notice appear in
49
associated documentation, and (c) there is clear notice in each modified Data
50
File or in the Software as well as in the documentation associated with the Data
51
File(s) or Software that the data or software has been modified.
52
53
    THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
54
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
55
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD
56
PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
57
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
58
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
59
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
60
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR
61
SOFTWARE.
62
63
    Except as contained in this notice, the name of a copyright holder shall not
64
be used in advertising or otherwise to promote the sale, use or other dealings
65
in these Data Files or Software without prior written authorization of the
66
copyright holder.
67
68
===============================================================================
69
70
71
/* This ICU code derived from: */
72
/*
73
punycode.c 0.4.0 (2001-Nov-17-Sat)
74
http://www.cs.berkeley.edu/~amc/idn/
75
Adam M. Costello
76
http://www.nicemice.net/amc/
77
78
Disclaimer and license
79
80
Regarding this entire document or any portion of it (including
81
the pseudocode and C code), the author makes no guarantees and
82
is not responsible for any damage resulting from its use. The
83
author grants irrevocable permission to anyone to use, modify,
84
and distribute it in any way that does not diminish the rights
85
of anyone else to use, modify, and distribute it, provided that
86
redistributed derivative works do not contain misleading author or
87
version information. Derivative works need not be licensed under
88
similar terms.
89
*/
90
91
92
/*
93
** This file is in the public domain, so clarified as of
94
** 2006-07-17 by Arthur David Olson.
95
*/