Fix for the bug ID: 3025042: is_bom documentation issue
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@114 a809a056-fc17-0410-9590-b4f493f8b08e
This commit is contained in:
parent
c3a9d57d56
commit
d75756f201
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ assert (bbom == <span class="literal">true</span>);
|
||||||
<span class="keyword">unsigned char</span> byte_order_mark[] = {<span class=
|
<span class="keyword">unsigned char</span> byte_order_mark[] = {<span class=
|
||||||
"literal">0xef</span>, <span class="literal">0xbb</span>, <span class=
|
"literal">0xef</span>, <span class="literal">0xbb</span>, <span class=
|
||||||
"literal">0xbf</span>};
|
"literal">0xbf</span>};
|
||||||
<span class="keyword">bool</span> bbom = is_bom(byte_order_mark, byte_order_mark + <span class="keyword">sizeof</span>(byte_order_mark));
|
<span class="keyword">bool</span> bbom = is_bom(byte_order_mark);
|
||||||
assert (bbom == <span class="literal">true</span>);
|
assert (bbom == <span class="literal">true</span>);
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue