ClientApi::GetTrans( )

Gets an integer that represents the charset.

Virtual?

No

 

Class

ClientApi

 

Arguments

None

 

Returns

charset

The integer value for the detected charset

Example

printf(“charset = %d\n”, client.GetTrans());

Notes

Returns an integer value based on the detected charset:

none=0
utf8=1
iso8859-1=2
utf16-nobom=3
shiftjis=4
eucjp=5
winansi=6
winoem=7
macosroman=8
iso8859-15=9
iso8859-5=10
koi8-r=11
cp1251=12
utf16le=13
utf16be=14
utf16le-bom=15
utf16be-bom=17
utf16=18
utf8-bom=19
utf32-nobom=20
utf32le=21
utf32be=22
utf32le-bom=23
utf32be-bom=24
utf32=25
utf8unchecked=26
utf8unchecked-bom=27
cp949=28
cp936=29
cp950=30
cp850=31
cp858=32
cp1253=33
cp737=34
iso8859-7=35
cp1250=36
cp852=37