Kbase P19659: Function url_encode() is not enabled for Unicode
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
FACT(s) (Environment):
WebSpeed 3.1D
Progress 9.1D
SYMPTOM(s):
Function url_encode() is not enabled for Unicode
Function url_encode() is not UTF-8 compliant
Display url-encode("åäö", "query"). returns %0F%0F%0F
CAUSE:
This is a known issue
FIX:
1.) stop all your wsbroker(s)
2.) backup and then edit your DLC\src\web\method\cgiutils.i as follows:
LINE 770: /* ASCII value of character */
LINE 771: c = ASC(SUBSTRING(p_value, i, 1, "RAW":U)).
to
LINE 770: /* ASCII value of character using single byte codepage */
LINE 771: c = ASC(SUBSTRING(p_value, i, 1, "RAW":U), "1252", "1252").
3.) recompile $DLC\src\web\objects\web-util.p
4.) make sure that the new web-util.r is in the $DLC/tty/web/objects directory
5.) re-start your wsbroker(s).