Consultor Eletrônico



Kbase P116668: How to create an URL containing special characters encoded in UTF-8 in WebSpeed?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/29/2010
Status: Unverified

GOAL:

How to create an URL containing special characters encoded in UTF-8 in WebSpeed?

GOAL:

How to convert properly an URL containing special characters encoded in UTF-8 in WebSpeed?

FACT(s) (Environment):

All Supported Operating Systems
WebSpeed 3.x

FIX:

Convert the input of URL-ENCODE to UTF-8 prior to encoding, as follows:
addr = "http://server/?param=éàê".
str = URL-ENCODE(CODEPAGE-CONVERT(addr, "utf-8", SESSION:CHARSET), "query").