GregTomkins
Active Member
Progress 10.2B
We use French throughout our application and in general accented characters (eg. 'e' with an acute accent, ASCII 233) are no problem. However;
An (eg) ASCII 233 ('e' with an acute accent) is input into a browser, which encodes it as UTF-8 and POSTs using $.ajax. In WS, GET-VALUE returns garbled text.
I tried these:
a. FIX-CODEPAGE ("UTF-8")
b. -cpinternal / -cpstream set to UTF-8
c. Fiddling with OUTPUT ... CONVERT
d. Apache conf.d / .htaccess AddDefaultCharSet UTF-8
e. Checking everywhere including WebSpeed, Apache, CGI etc. for incorrect code page references
f. A kBase entry suggested PROTERMCAP on the WS agent; this rendered WebSpeed unstartable.
g. Our DB is ISO8859-1 but that is not changeable and makes no sense would be the issue.
h. According to W3C, UTF-8 is always used for XHR, even if you specify otherwise.
I emphasize, output from WebSpeed to the browser is OK; the problem is in the opposite direction. Data within the DB, Telnet, GUI clients, etc. is also OK and has been for decades.
Any suggestions?
We use French throughout our application and in general accented characters (eg. 'e' with an acute accent, ASCII 233) are no problem. However;
An (eg) ASCII 233 ('e' with an acute accent) is input into a browser, which encodes it as UTF-8 and POSTs using $.ajax. In WS, GET-VALUE returns garbled text.
I tried these:
a. FIX-CODEPAGE ("UTF-8")
b. -cpinternal / -cpstream set to UTF-8
c. Fiddling with OUTPUT ... CONVERT
d. Apache conf.d / .htaccess AddDefaultCharSet UTF-8
e. Checking everywhere including WebSpeed, Apache, CGI etc. for incorrect code page references
f. A kBase entry suggested PROTERMCAP on the WS agent; this rendered WebSpeed unstartable.
g. Our DB is ISO8859-1 but that is not changeable and makes no sense would be the issue.
h. According to W3C, UTF-8 is always used for XHR, even if you specify otherwise.
I emphasize, output from WebSpeed to the browser is OK; the problem is in the opposite direction. Data within the DB, Telnet, GUI clients, etc. is also OK and has been for decades.
Any suggestions?