Skip to content

Commit ebbc5bb

Browse files
committed
Update encoding note for new DOM
1 parent 8008e10 commit ebbc5bb

9 files changed

+14
-8
lines changed

language-snippets.ent

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,6 +1648,12 @@ it is inserted with (e.g.) <function xmlns="http://docbook.org/ns/docbook">DOMNo
16481648

16491649
<!ENTITY dom.malformederror '<para xmlns="http://docbook.org/ns/docbook">While malformed HTML should load successfully, this function may generate <constant>E_WARNING</constant> errors when it encounters bad markup. <link linkend="function.libxml-use-internal-errors">libxml&apos;s error handling functions</link> may be used to handle these errors.</para>'>
16501650
<!ENTITY dom.note.utf8 '<note xmlns="http://docbook.org/ns/docbook"><para>The DOM extension uses UTF-8 encoding. Use <function>mb_convert_encoding</function>, <methodname>UConverter::transcode</methodname>, or <function>iconv</function> to handle other encodings.</para></note>'>
1651+
<!ENTITY dom.note.modern.utf8 '<note xmlns="http://docbook.org/ns/docbook">
1652+
<simpara>
1653+
The DOM extension uses UTF-8 encoding when working with methods or properties.
1654+
The parser methods auto-detect the encoding or allow the caller to specify an encoding.
1655+
</simpara>
1656+
</note>'>
16511657
<!ENTITY dom.note.json '<note xmlns="http://docbook.org/ns/docbook"><para>When using <function>json_encode</function> on a <classname>DOMDocument</classname> object the result will be that of encoding an empty object.</para></note>'>
16521658
<!ENTITY dom.domdocument.html5 '<warning xmlns="http://docbook.org/ns/docbook">
16531659
<simpara>

reference/dom/dom/dom-element.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248

249249
<section role="notes">
250250
&reftitle.notes;
251-
&dom.note.utf8;
251+
&dom.note.modern.utf8;
252252
</section>
253253

254254
</partintro>

reference/dom/dom/dom-htmlcollection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
<section role="notes">
6262
&reftitle.notes;
63-
&dom.note.utf8;
63+
&dom.note.modern.utf8;
6464
</section>
6565

6666
</partintro>

reference/dom/dom/dom-htmldocument.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
<section role="notes">
6161
&reftitle.notes;
62-
&dom.note.utf8;
62+
&dom.note.modern.utf8;
6363
</section>
6464

6565
</partintro>

reference/dom/dom/dom-htmlelement.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
<section role="notes">
5454
&reftitle.notes;
55-
&dom.note.utf8;
55+
&dom.note.modern.utf8;
5656
</section>
5757

5858
</partintro>

reference/dom/dom/dom-namednodemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
<section role="notes">
6262
&reftitle.notes;
63-
&dom.note.utf8;
63+
&dom.note.modern.utf8;
6464
</section>
6565

6666
</partintro>

reference/dom/dom/dom-node.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291

292292
<section role="notes">
293293
&reftitle.notes;
294-
&dom.note.utf8;
294+
&dom.note.modern.utf8;
295295
</section>
296296

297297
<section role="seealso">

reference/dom/dom/dom-tokenlist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
<section role="notes">
7777
&reftitle.notes;
78-
&dom.note.utf8;
78+
&dom.note.modern.utf8;
7979
</section>
8080

8181
</partintro>

reference/dom/dom/dom-xmldocument.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109

110110
<section role="notes">
111111
&reftitle.notes;
112-
&dom.note.utf8;
112+
&dom.note.modern.utf8;
113113
</section>
114114

115115
</partintro>

0 commit comments

Comments
 (0)