Release 0.9.9.6
[davical.git] / docs / api / davical / _inc---check_UTF8.php.html
blobb7b65bb6d9e1edea9e2032639dd5e209e2db46da
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <!-- template designed by Marco Von Ballmoos -->
6 <title>Docs for page check_UTF8.php</title>
7 <link rel="stylesheet" href="../media/stylesheet.css" />
8 <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
9 </head>
10 <body>
11 <div class="page-body">
12 <h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/inc/check_UTF8.php</h2>
14 <a name="sec-description"></a>
15 <div class="info-box">
16 <div class="info-box-title">Description</div>
17 <div class="nav-bar">
18 <span class="disabled">Description</span> |
19 <a href="#sec-functions">Functions</a>
20 </div>
21 <div class="info-box-body">
22 <!-- ========== Info from phpDoc block ========= -->
24 </div>
25 </div>
31 <a name="sec-functions"></a>
32 <div class="info-box">
33 <div class="info-box-title">Functions</div>
34 <div class="nav-bar">
35 <a href="#sec-description">Description</a> |
36 <span class="disabled">Functions</span>
37 </div>
38 <div class="info-box-body">
39 <a name="functioncheck_string" id="functioncheck_string"><!-- --></a>
40 <div class="evenrow">
42 <div>
43 <img src="../media/images/Function.png" />
44 <span class="method-title">check_string</span> (line <span class="line-number">211</span>)
45 </div>
47 <!-- ========== Info from phpDoc block ========= -->
48 <div class="method-signature">
49 <span class="method-result">void</span>
50 <span class="method-name">
51 check_string
52 </span>
53 (<span class="var-type"></span>&nbsp;<span class="var-name">$ics</span>)
54 </div>
56 <ul class="parameters">
57 <li>
58 <span class="var-type"></span>
59 <span class="var-name">$ics</span> </li>
60 </ul>
63 </div>
64 <a name="functionunicodeToUtf8" id="functionunicodeToUtf8"><!-- --></a>
65 <div class="oddrow">
67 <div>
68 <img src="../media/images/Function.png" />
69 <span class="method-title">unicodeToUtf8</span> (line <span class="line-number">179</span>)
70 </div>
72 <!-- ========== Info from phpDoc block ========= -->
73 <p class="short-description">Takes an array of ints representing the Unicode characters and returns a UTF-8 string. Astral planes are supported ie. the ints in the input can be &gt; 0xFFFF. Occurrances of the BOM are ignored. Surrogates are not allowed.</p>
74 <p class="description"><p>Returns false if the input array contains ints that represent surrogates or are outside the Unicode range.</p></p>
75 <div class="method-signature">
76 <span class="method-result">void</span>
77 <span class="method-name">
78 unicodeToUtf8
79 </span>
80 (<span class="var-type"></span>&nbsp;<span class="var-name">&$arr</span>)
81 </div>
83 <ul class="parameters">
84 <li>
85 <span class="var-type"></span>
86 <span class="var-name">&$arr</span> </li>
87 </ul>
90 </div>
91 <a name="functionutf8ToUnicode" id="functionutf8ToUnicode"><!-- --></a>
92 <div class="evenrow">
94 <div>
95 <img src="../media/images/Function.png" />
96 <span class="method-title">utf8ToUnicode</span> (line <span class="line-number">59</span>)
97 </div>
99 <!-- ========== Info from phpDoc block ========= -->
100 <p class="short-description">Takes an UTF-8 string and returns an array of ints representing the Unicode characters. Astral planes are supported ie. the ints in the output can be &gt; 0xFFFF. Occurrances of the BOM are ignored. Surrogates are not allowed.</p>
101 <p class="description"><p>Returns false if the input string isn't a valid UTF-8 octet sequence.</p></p>
102 <div class="method-signature">
103 <span class="method-result">void</span>
104 <span class="method-name">
105 utf8ToUnicode
106 </span>
107 (<span class="var-type"></span>&nbsp;<span class="var-name">&$str</span>)
108 </div>
110 <ul class="parameters">
111 <li>
112 <span class="var-type"></span>
113 <span class="var-name">&$str</span> </li>
114 </ul>
117 </div>
118 </div>
119 </div>
121 <p class="notes" id="credit">
122 Documentation generated on Tue, 27 Sep 2011 11:30:45 +1300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
123 </p>
124 </div></body>
125 </html>