/* Translate all raw data in the Raw FIFO into unicode, and insert them into Unicode FIFO. */
VOID AnsiRawDataToUnicode(IN TERMINAL_DEV *TerminalDevice)
/* Translate all raw data in the Raw FIFO into unicode, and insert them into Unicode FIFO. */
VOID AnsiRawDataToUnicode(IN TERMINAL_DEV *TerminalDevice)
{
  UINT8  RawData;
  while (!IsRawFiFoEmpty (TerminalDevice) && !IsUnicodeFiFoFull (TerminalDevice)) {
    RawFiFoRemoveOneKey (TerminalDevice, &RawData);
    UnicodeFiFoInsertOneKey (TerminalDevice, (UINT16)RawData);
  }
}