Back to product page

Encoding property


Specifies code page to use for text conversions.

Type

An Long value. Encoding code page to be used for text conversions.

Syntax

  • Basic
object.Encoding [= value]
The Encoding(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodCrypt.
valueA Long value.

Remarks

Using this property you can set character encoding type you want to use for Text conversion in wodCrypt and Blob objects. Default charset value is 65001 (UTF8).
When you set this property to 0 it will be compatible with older wodCrypt versions where ANSI encoding was used. However using it like this you could receive an issue during encryption/decryption process on non English (or similar) systems.

List of most common encodings:
Value Description
0 ActiveCP
20127 ASCII
950 BIG5
1125 CP1125
1250 CP1250
1251 CP1251
1252 CP1252
1253 CP1253
1254 CP1254
1255 CP1255
1256 CP1256
1257 CP1257
1258 CP1258
437 CP437
720 CP720
737 CP737
775 CP775
850 CP850
852 CP852
855 CP855
857 CP857
858 CP858
862 CP862
866 CP866
874 CP874
932 CP932
936 EUCCN
20932 EUCJP
949 EUCKR
936 GB18030
936 GB2312
936 GBK
28591 ISO8859_1
28603 ISO8859_13
28605 ISO8859_15
28592 ISO8859_2
28593 ISO8859_3
28594 ISO8859_4
28595 ISO8859_5
28596 ISO8859_6
28597 ISO8859_7
28598 ISO8859_8
28599 ISO8859_9
20866 KOI8R
21866 KOI8U
874 TIS620
65001 UTF8

Platforms

Windows