I've got a code for a button which takes variable search_text from the input field and appends this text to the following url:
So if user put in search field 'zuastnte', url should be submitted through getURL in the following form:
It works well if I type something in Latain alphabet, but problem arise if I type something in Cyrillic or other alphabet that contains special (local) characters.
If I'll type 'zuastnte' I'm receiving url like this:
In the other words, all special characters are becoming a normal ones...
Do I need to encode somehow my url?
Many thanks in advance!
on (release, keyPress "<Enter>")
if (search_text != "" && search_text != " " && search_text != undefined)
var newURL = "http://www.LINK.com/variable="+search_text;