Project

General

Profile

$codepage » History » Version 2

Per Amundsen, 02/16/2023 09:19 PM

1 1 Per Amundsen
_Added in 4.3_
2
3
*$codepage(N)*
4
5
Returns the id for usable codepages/encodings.
6
7
*Parameters*
8
9 2 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| N | If N = 0, number of codepages otherwise the Nth codepage. |
12 1 Per Amundsen
13
*Properties*
14
15 2 Per Amundsen
table(ktable).
16
|*Property*|*Description*|
17
| .desc | Returns the full codepage description. |
18
| .name | Returns the short codepage name. |
19
| .id | Returns the codepage id. |
20 1 Per Amundsen
21
*Example*
22
23
<pre>
24
//echo -ag Number of codepages is $codepage(0) - the first codepage is $codepage(1).desc
25
</pre>