Tech Tip: Retaining control characters in a text variable
PRODUCT: 4D | VERSION: 14.x | PLATFORM: Mac & Win
Published On: January 7, 2016
Characters from 0 to 31 that are stored in a text variable are not guaranteed to be left unchanged for some characters. At the time they are entered, it will be stored. But when the text variable is triggered by the on data change event, 4D will automatically convert those characters. Here is a list of what 4D converts or retains in v14 and newer versions for characters 0 to 31:
Note: In v13 and earlier version, the behavior of characters 0 to 31 retained it's state in the text variable.
A recommendation to preserve data that contains control characters is to save it as a blob.