docs: lazutils: fixed invalid fpdoc elements

git-svn-id: trunk@54517 -
This commit is contained in:
mattias 2017-04-04 11:05:36 +00:00
parent 37f2d73f0a
commit b7c45f8ce4

View File

@ -71,11 +71,10 @@ Otherwise it returns a number 2..4.
It does not check for malicious codepoints like #$c0#$80, nor for non defined codepoints like #$f3#$a0#$87#$b9. It does not check for malicious codepoints like #$c0#$80, nor for non defined codepoints like #$f3#$a0#$87#$b9.
Use UTF8CharacterLength to step through a string with a simple loop: Use UTF8CharacterLength to step through a string with a simple loop:
<p><code>while p^&lt;&gt;#0 do begin <br/>
inc(p,UTF8CharacterLength(p)); while p^&lt;&gt;#0 do begin<br/>
end; inc(p,UTF8CharacterLength(p));<br/>
</code> end;<br/>
</p>
Even if p contains invalid UTF-8 it will run through the string without overflow.</descr> Even if p contains invalid UTF-8 it will run through the string without overflow.</descr>
<errors/> <errors/>