Hello,
I am facing the following problem:
1. AppServer communicating with a 3d-party web-service gets special characters (multi-byte characters) in UTF-8 encoding, which cannot be converted by Progress to the internal code-page 1252.
2. AVM throws the error 11395
3. I am aware of the concept code-page conversion tables and that in special cases it is possible to define own code-page conversion tables.
It appears though that in the documentation for Progress 11.7.3 there is only a hint that if you want to create a code-page conversion table from UTF-8 to a single-byte code-page you should set the "TYPE" value to 20. The "TYPE" statement is also described too short for understanding: "The TYPE statement specifies a conversion algorithm. For a conversion between two single-byte code pages, set TYPE to 1..." - what "conversion algorithm" and how it works or at least description of possible values is missing.
4. The documentation also does not state clearly that it is not possible to create a code-page conversion table to be able to convert from UTF-8 to a single-byte code-page.
I would like to ask for help with creating a code-page conversion table for conversion from UTF-8 to 1252/iso-8859-1 either with instructions or an example or both.
Thanks in advance!
I am facing the following problem:
1. AppServer communicating with a 3d-party web-service gets special characters (multi-byte characters) in UTF-8 encoding, which cannot be converted by Progress to the internal code-page 1252.
2. AVM throws the error 11395
3. I am aware of the concept code-page conversion tables and that in special cases it is possible to define own code-page conversion tables.
It appears though that in the documentation for Progress 11.7.3 there is only a hint that if you want to create a code-page conversion table from UTF-8 to a single-byte code-page you should set the "TYPE" value to 20. The "TYPE" statement is also described too short for understanding: "The TYPE statement specifies a conversion algorithm. For a conversion between two single-byte code pages, set TYPE to 1..." - what "conversion algorithm" and how it works or at least description of possible values is missing.
4. The documentation also does not state clearly that it is not possible to create a code-page conversion table to be able to convert from UTF-8 to a single-byte code-page.
I would like to ask for help with creating a code-page conversion table for conversion from UTF-8 to 1252/iso-8859-1 either with instructions or an example or both.
Thanks in advance!