Welcome! Log In Create A New Profile

Advanced

URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22

Posted by sivakrith 
URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
July 30, 2019 03:28PM
Hello,

Using Windev 22, internal version: 01A220073h

The function URLEncode(MyURL, encodeURLFromUnicode)

with parameter encodeURLFromUnicode is not available in my Windev 22. Autocomplete lists only three other parameters

encodeURLFromAnsi
encodeURLFromUTF8
EncodeURLParameter

Help says encodeURLFromUnicode is available in Windev 22.

Any thing that I could do to have this option available in coding ?

Happiness Always
BKR Sivaprakash
Re: URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
August 07, 2019 07:58AM
Hello,

You can only use Ansi in this particular case. Avoid specifying the last parameter.

For example:
MyURL = URLEncode(MyURL)
Re: URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
August 07, 2019 09:08AM
Thanks Yogi Yang,

But I need to encode Unicode characters. How could I do that ? encodeURLFromUTF8 doesn't work.

Happiness Always
BKR Sivaprakash
Re: URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
August 07, 2019 09:09AM

And help says that parameter (encodeURLFromUnicode) is available in Windev 22.
Hi.

For some reason Auto Complete doesn't suggest that parameter until you type almost the full word. :"encodeURLFromUn"

But the parameter does work for me.

Regards,
José Antonio.
Re: URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
August 11, 2019 12:56PM
Hi. Try with this

[www.urlencoder.io]

You can create a global Java procedure with the code and call it to convert the text string.

Rubén
Re: URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
August 16, 2019 10:12AM
Thanks José Antonio

But that doesn't work for me. I tried typing the full word, windev complains it as an error. Hope you use the same internal version that of mine.
Re: URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
August 16, 2019 10:16AM
Rubén,

That's interesting. I'm unaware of this feature.

So without any java installation at client's computer, windev could execute java procedure from windev application itself ?

I'll dig into this area. Btw, if you could suggest some articles / links in this area, that will be of very much useful to me.
Re: URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
August 16, 2019 12:39PM
Excuse me, after so much time seeing your message I forgot it was for WD. I thought it was for WM as in other messages.

I'm sorry.

Try this other one

[stackoverflow.com]

You can call .NET from WD.

Greetings

Ruben
Re: URLEncode(MyURL, encodeURLFromUnicode) is not available in Windev 22
August 19, 2019 03:33PM
Thanks Ruben for the clarification.

Dot net is not an option, as many of our clients don't have required dot net in all of their computers. Any other ways to get it done ?

Happiness Always
BKR Sivaprakash
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: