Automatic Counterflow Function for Data Stream With Mixed Right-To-Left and Left-To-Right Languages
Original Publication Date: 1987-Dec-01
Included in the Prior Art Database: 2005-Feb-02
To effect an automatic counterflow control for a data stream containing mixed languages and numerics, etc., such as Arabic or Hebrew (right to left) and English or numerics (left to right), the languages and numerics are set out in code page areas such that each respective language, etc., is identifiable by a unique range of values which cannot dynamically change. A finite state machine can be designed to recognize any shift from one range of values to another, and, in accordance with the range noted, automatically control counterflow. For example, if a given line starts with right to left Arabic, and a subsequent value indicates a switch to English (left to right), the finite state machine will control the cursor, i.e.