Editor Error

Kalan

Member
Hi,

There is a code logic which reads the records from DB table to compose the text string and display that in CHUI based editor. However, I get below error.
Invalid characters were replaced with blanks. (104). " When I look up the error it tells me the following : "
** Invalid characters were replaced with blanks. (104) The PROGRESS editor does not allow non-printing control characters or tabs, and replaces them with blanks. "

I am sure there is no non printable/special characters so I wonder what other possibilities to get this error?

Thanks.
 
Could you show how you are confirming that there are no non-printable / special characters?
 
That would still be an issue with illegal characters.

I'm certain that the message is correct. Code is always guilty until proven innocent.

And since innocent code would be quite extraordinary it would take extraordinary evidence to absolve code of guilt ;)

IMHO the problem should be stated as "how do I find the illegal characters?" rather than "what are the other possibilities?".
 
My point was that if the check were made, for example, on ASCII codes of low values, that there could be illegal characters high in the code page that would not be found. But, it seems to me that if there are blanks substituted, it should be easy enough to check what character is at each blank position.
 
I understand your point. It's the same problem. Illegal characters exist. Rather than deny the possibility focus on identifying them. Once identified the root cause can be determined and a resolution can be decided upon. Casting the problem as "this isn't happening, suggest something else" does not advance the solution.
 
Back
Top