Web Vuser Functions (WEB) > General Topics in Web Protocol > Using Binary Code

Using Binary Code

You can use the following format to include binary code in:


This represents the hexadecimal value that is represented by [char1][char2].

For example: \x24 is 16*2+4=36, which is a $ sign; \x2B is + sign.

Sequences that do not represent valid 2–character hexadecimal sequences are treated by VuGen as ASCII text. Do not use 1–character hexadecimal sequences. "\x2" , for example, is not a valid 2–character hexadecimal sequence. Use "\x02" instead.

If you use binary data in parameterization, include only one backslash within the definition of the parameter. This is because parameter substitution does not perform any C–escaping conversion.

When specifying binary data in EscapedBinary data or text for a web_reg_find or web_global_verification functions , escape the backslash. For example, \\x02.

In a web_reg_xxx function, include only one backslash within the definition of the boundaries.

For example, if text.htm contains:

	~ = \x7e, ^ = \x5e

Then this command registers a find between the first tilde (`~") and the first caret (`^'):

	LAST );

	LAST );

Action.c(22): Notify: Saving Parameter "UserName = Harry"