_Added in 4.3_ *$codepage(N)* Returns the id for usable codepages/encodings. *Parameters* table(ktable). |*Parameter*|*Description*| | N | If N = 0, number of codepages otherwise the Nth codepage. | *Properties* table(ktable). |*Property*|*Description*| | .desc | Returns the full codepage description. | | .name | Returns the short codepage name. | | .id | Returns the codepage id. | *Example*
//echo -ag Number of codepages is $codepage(0) - the first codepage is $codepage(1).desc