def encode(self, text):
        normalized_text = u''.join(self._normalize_char(char) for char in text)
        return normalized_text.encode(self.charset)
Helper to handle server-specific text encoding.
dataset/ETHPy150Open rbarrois/mpdlcd/mpdlcd/lcdrunner.py/LcdProcServer.encode