Kbase P14029: Reading character data from external file which contains embedded null characters causes rest of dat
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2004 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
Reading character data from external file
Character data contains embedded null characters (hex '00')
Reading the character data from the database truncates at the first null character
CAUSE:
Progress is written using the C programming language. In C, all character strings are terminated by a null character so, in actuality, when the data is stored in the database everything after the first null character is ignored.
FIX:
Before reading the data in from the external source, replace all null characters with some other character.