| Ohshima-san,
I was not involved at all in DECforms during V1.4 time. So, in order to
understand the situation, I need an example how this '0041' got entered
into a form so it should be displayed.
Please provide a small example which reproduces the problem.
Benzi
|
| We have reproduced the problem using a test program delivered by
Ohshima-san.
The problem was traced to a code change in module FORMS_MGR_CCT_FIELD.B32
routine DISPLAY_IMAGE. This change explicitly looks for the first NULL
character in the string to be displayed and sets the string end at this
point, treating the data as a null terminated string.
In the example given, the field to be displayed had 5 leading NULL
characters followed by 5 ASCII characters. The calculated string length was
ten in V1.4 but is zero in newer versions.
This change was inserted in V2.0, both for the Latin and Japanese cases. I
believe that it is an improvement over the old code and I don't think that
the code should be modified back. As explained above, it has nothing to do
with special handling of ASCII characters in a Japanese environment.
So, I think that the user, who relied on an undocumented support, should
modify his program to remove leading NULL characters before sending the
text data (coming from an IBM machine) to the form. Even better, the NULLs
should be removed as near as possible to the place where they are generated
(i.e., on the IBM machine).
|