Erich - 2020-07-17

Hi Jan-Erik,
ooRexx has no concept of codepages - it uses code points without assigning any meaning to them.

To make an ooRexx script run under codepage 1252, issue a CHCP 1252 command before starting the script.

scripts written in one codepage to run in another codepage
Rexx scripts are plain text files which don't know what codepage they are written in

To convert a string between Windows codepages, you can use something like below (where cpIn/cpOut are the codepages to convert from/to)

call SysToUnicode string, cpIn, , out.
call SysFromUnicode out.!text, cpOut, , , out.
return out.!text