serial input now accept non-ascii chars