While the Parser correctly uses the given control characters to convert the tokens to Segments, it does not pass on the UNA Segment to the created Interchange. Therefore, the interchange has no knowledge of any from the default set differing characters:
Consider an interchange like
While the
Parser
correctly uses the given control characters to convert the tokens toSegments
, it does not pass on the UNA Segment to the createdInterchange
. Therefore, the interchange has no knowledge of any from the default set differing characters:or that an UNA segment was parsed:
The docstring of convert_tokens_to_segments hints, that passing information of any parsed UNA was intended but has not been implemented yet.