Project

General

Profile

$isutf » History » Version 2

Per Amundsen, 02/23/2023 02:05 PM

1 1 Per Amundsen
_Added in 1.9.9_
2
3
*$isutf(text)*
4
5
Returns 1 if the text is utf8 encoded, otherwise 0.
6
7
*Parameters*
8
9 2 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| text | Text to check. |
12 1 Per Amundsen
13
*Example*
14
15
<pre>
16
; Test the text 'æøå'
17
//echo -ag Text $iif($isutf(æøå),is,is not) utf8
18
19
; Test the text 'abc'
20
//echo -ag Text $iif($isutf(abc),is,is not) utf8
21
</pre>