Z
Z
Zimaell2019-05-24 18:51:57
PHP
Zimaell, 2019-05-24 18:51:57

How to solve the problem with special characters on PhantomJS+MTS PHP?

I am using phantomJS+MTS PHP to fill out forms, here is a piece of code:

$windowObj->mouseEventOnElement("[id=address-enterAddressLine1]","leftclick");
    $windowObj->sendKeyPresses($address_street1);

Everything works well, if special characters, for example, umlauts, do not appear in $address_street1, then an error appears.
If you make htmlentities, then the word is entered into the form, but ö will be - ö
Tell me how to fix this situation?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question