Field CharSets - handle form fields in different code pages

Sample for ScriptUtils.FormField.CharSet | Changes | Purchase | Download

Examples

Field CharSets - handle form fields in different code pages 
Dim Form, W1250, WISO

'Create formparser object
Set Form = CreateObject("ScriptUtils.FormParser")
Form.FormType = 2

'Process block of data with two fields.
Form.ProcessBlock "W1250=some1250chars-ìšèøžýáíé&WISO=and8859-2-ì¹èø¾ýáíé"

'Handle first field as Windows-1250 char set
Set W1250 = Form.Items("W1250")
W1250.CharSet = "Windows-1250"
Wscript.Echo W1250.Value

'Handle first field as iso-8859-2 char set
'You will get the same characters at output
Set WISO = Form.Items("WISO")
WISO.CharSet = "iso-8859-2"
Wscript.Echo WISO.Value

Other links for the Field CharSets - handle form fields in different code pages sample

ScriptUtils.FormField

One form field. Member of FormFields collection.

ScriptUtils

Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 4GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance . The software has also a free version of asp upload with progress, called Pure asp upload , written in plain VBS, without components (so you do not need to install anything on server). This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files , works with binary data , you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.

© 1996 - 2011 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz


Other Motobit links:   IISTracer, real-time IIS monitor   ASP file upload - upload files to ASP. 
ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object