Back to product page

Charset property (HttpResponse)


Character set to use for text conversion.

Type

A Charsets enumeration

Syntax

  • Basic
object.Charset  [= value]
The Charset(object,value) syntax has these parts:
objectAn expression evaluating to an object of type HttpResponse.
valueA Charsets enumeration, as described in settings.

Remarks

The settings for value are:

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


Inside this property you can set character encoding type that will be used for conversion of data received in Body property. Default charset value is UTF8.

wodHttpDLX will change this value automatically if server specifies different charset.

Platforms

Windows