See Ill-formed Code Unit Sequences for information about how ill-formed code unit sequences are handled in sessions with Unicode Pass Through (UPT) enabled.
In sessions where UPT is not enabled, the illegal form-of-use exception generates an illegal form-of-use error. External single-byte character sets do not have an illegal form-of-use but translations from ASCII with bytes above 7F can produce translation errors.
Example
Consider the s1string for the examples under this topic, where:
s1=92年03月10 日
If the string was modified as in the following example, an illegal form-of-use error is returned because the modified string is malformed.
Example: UTF8
| 00 | 30 | 00 | 32 | E5 |
| 9 | 2 | not valid | ||