Using with specified character encodings

Added the ability to specify the encoding of loaded page.
Removed never used variable MY_UA.